revert "attach target to test-watch-for-repl command (#20044)"
This reverts commit 05f381044c
.
Signed-off-by: Parvesh Monu <parvesh.dhullmonu@gmail.com>
This commit is contained in:
parent
052813e30e
commit
1817a86ffd
15
Makefile
15
Makefile
|
@ -333,14 +333,17 @@ shadow-server: export TARGET := clojure
|
||||||
shadow-server:##@ Start shadow-cljs in server mode for watching
|
shadow-server:##@ Start shadow-cljs in server mode for watching
|
||||||
yarn shadow-cljs server
|
yarn shadow-cljs server
|
||||||
|
|
||||||
_test-clojure: export TARGET := default
|
_test-clojure: export TARGET := clojure
|
||||||
_test-clojure: export WATCH ?= false
|
_test-clojure: export WATCH ?= false
|
||||||
|
_test-clojure: status-go-library
|
||||||
_test-clojure:
|
_test-clojure:
|
||||||
ifeq ($(WATCH), true)
|
ifeq ($(WATCH), true)
|
||||||
yarn install && shadow-cljs compile mocks && \
|
yarn node-pre-gyp rebuild && \
|
||||||
|
yarn shadow-cljs compile mocks && \
|
||||||
nodemon --exec "yarn shadow-cljs compile test && node --require ./test-resources/override.js $$SHADOW_OUTPUT_TO" -e cljs
|
nodemon --exec "yarn shadow-cljs compile test && node --require ./test-resources/override.js $$SHADOW_OUTPUT_TO" -e cljs
|
||||||
else
|
else
|
||||||
yarn install && shadow-cljs compile mocks && \
|
yarn node-pre-gyp rebuild && \
|
||||||
|
yarn shadow-cljs compile mocks && \
|
||||||
yarn shadow-cljs compile test && \
|
yarn shadow-cljs compile test && \
|
||||||
node --require ./test-resources/override.js "$$SHADOW_OUTPUT_TO"
|
node --require ./test-resources/override.js "$$SHADOW_OUTPUT_TO"
|
||||||
endif
|
endif
|
||||||
|
@ -350,11 +353,13 @@ test: export SHADOW_NS_REGEXP := .*-test$$
|
||||||
test: ##@test Run all Clojure tests
|
test: ##@test Run all Clojure tests
|
||||||
test: _test-clojure
|
test: _test-clojure
|
||||||
|
|
||||||
test-watch-for-repl: export TARGET := default
|
|
||||||
test-watch-for-repl: export SHADOW_OUTPUT_TO := target/test/test.js
|
test-watch-for-repl: export SHADOW_OUTPUT_TO := target/test/test.js
|
||||||
test-watch-for-repl: export SHADOW_NS_REGEXP := .*-test$$
|
test-watch-for-repl: export SHADOW_NS_REGEXP := .*-test$$
|
||||||
|
test-watch-for-repl: status-go-library
|
||||||
test-watch-for-repl: ##@test Watch all Clojure tests and support REPL connections
|
test-watch-for-repl: ##@test Watch all Clojure tests and support REPL connections
|
||||||
yarn install && shadow-cljs compile mocks && \
|
yarn node-pre-gyp rebuild
|
||||||
|
rm -f target/test/test.js
|
||||||
|
yarn shadow-cljs compile mocks && \
|
||||||
concurrently --kill-others --prefix-colors 'auto' --names 'build,repl' \
|
concurrently --kill-others --prefix-colors 'auto' --names 'build,repl' \
|
||||||
'yarn shadow-cljs watch test --verbose' \
|
'yarn shadow-cljs watch test --verbose' \
|
||||||
"until [ -f $$SHADOW_OUTPUT_TO ] ; do sleep 1 ; done ; node --require ./test-resources/override.js $$SHADOW_OUTPUT_TO --repl"
|
"until [ -f $$SHADOW_OUTPUT_TO ] ; do sleep 1 ; done ; node --require ./test-resources/override.js $$SHADOW_OUTPUT_TO --repl"
|
||||||
|
|
|
@ -9372,6 +9372,10 @@ react-native-svg@13.10.0:
|
||||||
css-select "^5.1.0"
|
css-select "^5.1.0"
|
||||||
css-tree "^1.1.3"
|
css-tree "^1.1.3"
|
||||||
|
|
||||||
|
"react-native-transparent-video@git+https://github.com/status-im/react-native-transparent-video.git#refs/tags/0.1.1":
|
||||||
|
version "0.1.0"
|
||||||
|
resolved "git+https://github.com/status-im/react-native-transparent-video.git#1327fc622f7521269f66299c3aca610494c76fe1"
|
||||||
|
|
||||||
react-native-url-polyfill@^2.0.0:
|
react-native-url-polyfill@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/react-native-url-polyfill/-/react-native-url-polyfill-2.0.0.tgz#db714520a2985cff1d50ab2e66279b9f91ffd589"
|
resolved "https://registry.yarnpkg.com/react-native-url-polyfill/-/react-native-url-polyfill-2.0.0.tgz#db714520a2985cff1d50ab2e66279b9f91ffd589"
|
||||||
|
|
Loading…
Reference in New Issue