Skip to content

Commit a91c6ee

Browse files
committed
Do not invoke "bash" without specifying its full path
1 parent 5c81f40 commit a91c6ee

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Makefile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,26 @@ test: build lib
3131

3232
test-analysis:
3333
make -C tests/analysis_tests clean test
34-
34+
3535
test-tools:
3636
make -C tests/tools_tests clean test
3737

3838
test-syntax:
39-
bash ./scripts/test_syntax.sh
40-
bash ./scripts/testok.sh
39+
./scripts/test_syntax.sh
40+
./scripts/testok.sh
4141

4242
test-syntax-roundtrip:
43-
ROUNDTRIP_TEST=1 bash ./scripts/test_syntax.sh
44-
bash ./scripts/testok.sh
43+
ROUNDTRIP_TEST=1 ./scripts/test_syntax.sh
44+
./scripts/testok.sh
4545

4646
test-gentype:
4747
make -C tests/gentype_tests/typescript-react-example clean test
4848

4949
test-rewatch:
50-
bash ./rewatch/tests/suite-ci.sh
50+
./rewatch/tests/suite-ci.sh
5151

5252
test-rewatch-integration:
53-
bash ./rewatch/tests/suite-ci.sh node_modules/.bin/rewatch
53+
./rewatch/tests/suite-ci.sh node_modules/.bin/rewatch
5454

5555
test-all: test test-gentype test-analysis test-tools test-rewatch
5656

@@ -82,10 +82,10 @@ playground-release: playground playground-cmijs
8282
yarn workspace playground upload-bundle
8383

8484
format:
85-
bash scripts/format.sh
85+
./scripts/format.sh
8686

8787
checkformat:
88-
bash scripts/format_check.sh
88+
./scripts/format_check.sh
8989

9090
clean-gentype:
9191
make -C tests/gentype_tests/typescript-react-example clean
@@ -97,7 +97,7 @@ clean:
9797
(cd runtime && ../cli/rescript.js clean)
9898
dune clean
9999

100-
clean-all: clean clean-gentype clean-rewatch
100+
clean-all: clean clean-gentype clean-rewatch
101101

102102
dev-container:
103103
docker build -t rescript-dev-container docker

0 commit comments

Comments
 (0)