Skip to content

Commit 5d92cbc

Browse files
committed
Clean up cli.bsc.js invocation and mentions.
1 parent 2511e48 commit 5d92cbc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,19 +123,19 @@ After adding a new file to the repository that should go into the npm package -
123123

124124
```sh
125125
make lib # Build compiler and standard library
126-
./cli/bsc myTestFile.res
126+
./cli/bsc.js myTestFile.res
127127
```
128128

129129
To view the untyped tree of the file run:
130130

131131
```sh
132-
./cli/bsc -dparsetree myTestFile.res
132+
./cli/bsc.js -dparsetree myTestFile.res
133133
```
134134

135135
To view the typed tree of the file run:
136136

137137
```sh
138-
./cli/bsc -dtypedtree myTestFile.res
138+
./cli/bsc.js -dtypedtree myTestFile.res
139139
```
140140

141141
### Project

tests/tools_tests/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ done
99

1010
for file in ppx/*.res; do
1111
output="src/expected/$(basename $file).jsout"
12-
node ../../cli/bsc.js -ppx "../../_build/install/default/bin/rescript-tools ppx" $file > $output
12+
../../cli/bsc.js -ppx "../../_build/install/default/bin/rescript-tools ppx" $file > $output
1313
# # CI. We use LF, and the CI OCaml fork prints CRLF. Convert.
1414
if [ "$RUNNER_OS" == "Windows" ]; then
1515
perl -pi -e 's/\r\n/\n/g' -- $output

0 commit comments

Comments
 (0)