Skip to content

Commit 17c4933

Browse files
committed
build: trigger node-gyp-pre rebuild directly
1 parent 3638a93 commit 17c4933

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -333,11 +333,11 @@ _test-clojure: export TARGET := clojure
333333
_test-clojure: export WATCH ?= false
334334
_test-clojure:
335335
ifeq ($(WATCH), true)
336-
yarn install && \
336+
node-gyp-pre rebuild && \
337337
yarn shadow-cljs compile mocks && \
338338
nodemon --exec "yarn shadow-cljs compile test && node --require ./test-resources/override.js $$SHADOW_OUTPUT_TO" -e cljs
339339
else
340-
yarn install && \
340+
node-gyp-pre rebuild && \
341341
yarn shadow-cljs compile mocks && \
342342
yarn shadow-cljs compile test && \
343343
node --require ./test-resources/override.js "$$SHADOW_OUTPUT_TO"
@@ -351,7 +351,7 @@ test: _test-clojure
351351
test-watch-for-repl: export SHADOW_OUTPUT_TO := target/test/test.js
352352
test-watch-for-repl: export SHADOW_NS_REGEXP := .*-test$$
353353
test-watch-for-repl: ##@test Watch all Clojure tests and support REPL connections
354-
yarn install
354+
node-gyp-pre rebuild
355355
rm -f target/test/test.js
356356
yarn shadow-cljs compile mocks && \
357357
concurrently --kill-others --prefix-colors 'auto' --names 'build,repl' \

0 commit comments

Comments
 (0)