File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 11
11
12
12
.PHONY : help repl css-watch test test-watch test-config test-profile dist \
13
13
build-css build-frontend build-config build-uberjar run-dist deploy \
14
- clean
14
+ clean deps npm-deps
15
15
16
16
.DEFAULT_GOAL := help
17
17
@@ -21,8 +21,7 @@ CLOJURE_TEST_RUNNER = clojure -X:test/env:test/run
21
21
help : # # This blessed text
22
22
@grep ' ^[a-zA-Z]' $(MAKEFILE_LIST ) | sort | awk -F ' :.*?## ' ' NF==2 {printf " \033[36m%-$(HELP_SPACING)s\033[0m %s\n", $$1, $$2}'
23
23
24
- repl : # # Start a Clojure REPL
25
- bun i
24
+ repl : deps # # Start a Clojure REPL
26
25
clojure -M -m shadow.cljs.devtools.cli clj-repl
27
26
28
27
css-watch : # # Watch and build CSS
@@ -40,8 +39,11 @@ format-check: ## Check formatting of clj/cljs files
40
39
format-fix : # # Fix formatting of clj/cljs files
41
40
clojure -M:cljfmt fix
42
41
43
- deps : deps.edn # # Prepare dependencies for test and dist targets
44
- clojure -P -X:build
42
+ npm-deps : package.json
43
+ bun i
44
+
45
+ deps : deps.edn npm-deps # # Prepare dependencies for test and dist targets
46
+ clojure -P
45
47
46
48
dist : build-css build-frontend build-uberjar # # Build project
47
49
You can’t perform that action at this time.
0 commit comments