chore: tiny `Makefile` fixes (#18521)
Here we remove `yarn install` from `make component-test` and `make component-test-watch` commands. We also fix an extra `@` present ahead of `@scripts/check-metro-shadow-process.sh` inside `component-test-watch` command.
This commit is contained in:
parent
09bf6673cf
commit
72d8c4446f
4
Makefile
4
Makefile
|
@ -386,9 +386,8 @@ component-test-watch: export COMPONENT_TEST := true
|
||||||
component-test-watch: export BABEL_ENV := test
|
component-test-watch: export BABEL_ENV := test
|
||||||
component-test-watch: export JEST_USE_SILENT_REPORTER := false
|
component-test-watch: export JEST_USE_SILENT_REPORTER := false
|
||||||
component-test-watch: ##@ Watch tests and re-run no changes to cljs files
|
component-test-watch: ##@ Watch tests and re-run no changes to cljs files
|
||||||
@@scripts/check-metro-shadow-process.sh
|
@scripts/check-metro-shadow-process.sh
|
||||||
rm -rf ./component-spec
|
rm -rf ./component-spec
|
||||||
yarn install
|
|
||||||
nodemon --exec 'yarn shadow-cljs compile component-test && jest --config=test/jest/jest.config.js --testEnvironment node ' -e cljs
|
nodemon --exec 'yarn shadow-cljs compile component-test && jest --config=test/jest/jest.config.js --testEnvironment node ' -e cljs
|
||||||
|
|
||||||
component-test: export TARGET := clojure
|
component-test: export TARGET := clojure
|
||||||
|
@ -398,7 +397,6 @@ component-test: export JEST_USE_SILENT_REPORTER := false
|
||||||
component-test: ##@test Run component tests once in NodeJS
|
component-test: ##@test Run component tests once in NodeJS
|
||||||
@scripts/check-metro-shadow-process.sh
|
@scripts/check-metro-shadow-process.sh
|
||||||
rm -rf ./component-spec
|
rm -rf ./component-spec
|
||||||
yarn install
|
|
||||||
yarn shadow-cljs compile component-test && \
|
yarn shadow-cljs compile component-test && \
|
||||||
jest --clearCache && jest --config=test/jest/jest.config.js --testEnvironment node
|
jest --clearCache && jest --config=test/jest/jest.config.js --testEnvironment node
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue