From 1817a86ffd5c651f65d664e04fd7ec36f59a989e Mon Sep 17 00:00:00 2001 From: Parvesh Monu Date: Thu, 16 May 2024 16:17:28 +0530 Subject: [PATCH] revert "attach target to test-watch-for-repl command (#20044)" This reverts commit 05f381044cbfed8c3728076d93fe52dd35e4ce4e. Signed-off-by: Parvesh Monu --- Makefile | 15 ++++++++++----- yarn.lock | 4 ++++ 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6f55fc22ea..8fe54c38df 100644 --- a/Makefile +++ b/Makefile @@ -333,14 +333,17 @@ shadow-server: export TARGET := clojure shadow-server:##@ Start shadow-cljs in server mode for watching yarn shadow-cljs server -_test-clojure: export TARGET := default +_test-clojure: export TARGET := clojure _test-clojure: export WATCH ?= false +_test-clojure: status-go-library _test-clojure: 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 else - yarn install && shadow-cljs compile mocks && \ + yarn node-pre-gyp rebuild && \ + yarn shadow-cljs compile mocks && \ yarn shadow-cljs compile test && \ node --require ./test-resources/override.js "$$SHADOW_OUTPUT_TO" endif @@ -350,11 +353,13 @@ test: export SHADOW_NS_REGEXP := .*-test$$ test: ##@test Run all Clojure tests 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_NS_REGEXP := .*-test$$ +test-watch-for-repl: status-go-library 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' \ '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" diff --git a/yarn.lock b/yarn.lock index d34d6348ec..eb9c291f54 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9372,6 +9372,10 @@ react-native-svg@13.10.0: css-select "^5.1.0" 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: version "2.0.0" resolved "https://registry.yarnpkg.com/react-native-url-polyfill/-/react-native-url-polyfill-2.0.0.tgz#db714520a2985cff1d50ab2e66279b9f91ffd589"