-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from liquidz/dev
Next release
- Loading branch information
Showing
2 changed files
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,49 @@ | ||
.PHONY: help | ||
help: | ||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | ||
|
||
.inline-deps: | ||
clojure -T:build inline-deps | ||
touch .inline-deps | ||
|
||
.PHONY: inline-deps | ||
inline-deps: clean .inline-deps | ||
inline-deps: clean .inline-deps ## Inline deps | ||
|
||
.PHONY: repl | ||
repl: | ||
iced repl --without-cljs --force-clojure-cli -A:dev:injection | ||
repl: ## Start REPL | ||
iced repl --without-cljs -A:dev:injection | ||
|
||
.PHONY: lint | ||
lint: | ||
lint: ## Lint codes | ||
clj-kondo --lint src:test | ||
cljstyle check | ||
|
||
|
||
.PHONY: test | ||
test: .inline-deps | ||
test: .inline-deps ## Run tests with inlining | ||
clojure -M:dev:srcdeps:test | ||
clojure -M:dev:1.9:srcdeps:test | ||
clojure -M:dev:1.10:srcdeps:test | ||
|
||
.PHONY: dev-test | ||
dev-test: | ||
dev-test: ## Run tests without inlining | ||
clojure -M:dev:injection:test | ||
|
||
.PHONY: install | ||
install: .inline-deps | ||
install: .inline-deps ## Install jar to local Maven repos | ||
clojure -T:build install | ||
|
||
.PHONY: coverage | ||
coverage: | ||
coverage: ## Show coverage | ||
clojure -M:dev:injection:coverage \ | ||
--src-ns-path=src \ | ||
--test-ns-path=test \ | ||
--codecov \ | ||
--ns-exclude-regex 'icedtest\..*' | ||
|
||
.PHONY: outdated | ||
outdated: | ||
outdated: ## Show and upgrade outdated deps | ||
clojure -M:outdated --upgrade | ||
|
||
.PHONY: clean | ||
clean: | ||
clean: ## Clean | ||
\rm -rf target .inline-deps .cpcache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters