@@ -148,35 +148,37 @@ clean-lib:
148148 yarn workspace @rescript/runtime rescript clean
149149 rm -f $(RUNTIME_BUILD_STAMP )
150150
151- # Tests / artifacts / analysis
151+ # Artifact list
152152
153153artifacts : lib
154154 ./scripts/updateArtifactList.js
155155
156- bench : $(COMPILER_BUILD_STAMP )
156+ # Tests
157+
158+ bench : compiler
157159 $(DUNE_BIN_DIR ) /syntax_benchmarks
158160
159- test : lib ninja | $( YARN_INSTALL_STAMP )
161+ test : lib ninja
160162 node scripts/test.js -all
161163
162- test-analysis : | $( YARN_INSTALL_STAMP )
164+ test-analysis : lib ninja
163165 make -C tests/analysis_tests clean test
164166
165- test-tools : | $( YARN_INSTALL_STAMP )
167+ test-tools : lib ninja
166168 make -C tests/tools_tests clean test
167169
168- test-syntax : | $( YARN_INSTALL_STAMP )
170+ test-syntax : compiler
169171 ./scripts/test_syntax.sh
170172
171- test-syntax-roundtrip : | $( YARN_INSTALL_STAMP )
173+ test-syntax-roundtrip : compiler
172174 ROUNDTRIP_TEST=1 ./scripts/test_syntax.sh
173175
174- test-gentype : | $( YARN_INSTALL_STAMP )
176+ test-gentype : lib ninja
175177 make -C tests/gentype_tests/typescript-react-example clean test
176178 make -C tests/gentype_tests/stdlib-no-shims clean test
177179
178- test-rewatch : $( RESCRIPT_EXE ) | $( YARN_INSTALL_STAMP )
179- ./rewatch/tests/suite.sh
180+ test-rewatch : lib
181+ ./rewatch/tests/suite.sh $( RESCRIPT_EXE )
180182
181183test-all : test test-gentype test-analysis test-tools test-rewatch
182184
0 commit comments