diff --git a/Makefile b/Makefile index 0645b92..f906115 100644 --- a/Makefile +++ b/Makefile @@ -1,36 +1,39 @@ +.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 \ @@ -38,9 +41,9 @@ coverage: --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 diff --git a/deps.edn b/deps.edn index a8db9ab..b0f4a11 100644 --- a/deps.edn +++ b/deps.edn @@ -24,7 +24,7 @@ org.clojure/tools.namespace {:mvn/version "1.3.0" ; required by cljfmt :exclusions [org.clojure/clojure org.clojure/java.classpath]} - cider/orchard {:mvn/version "0.10.0"} + cider/orchard {:mvn/version "0.11.0"} cljfmt/cljfmt {:mvn/version "0.9.0" :exclusions [org.clojure/clojure org.clojure/clojurescript @@ -40,8 +40,8 @@ :main-opts ["-m" "cloverage.coverage"]} :build {:extra-paths ["resources"] - :deps {com.github.liquidz/build.edn {:git/tag "0.7.145" :git/sha "776501e"} - leiningen/leiningen {:mvn/version "2.9.10"} ; required by mranderson + :deps {com.github.liquidz/build.edn {:git/tag "0.9.188" :git/sha "d2d25b0"} + leiningen/leiningen {:mvn/version "2.10.0"} ; required by mranderson thomasa/mranderson {:mvn/version "0.5.3"}} :ns-default build}}}