File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -123,19 +123,19 @@ After adding a new file to the repository that should go into the npm package -
123
123
124
124
``` sh
125
125
make lib # Build compiler and standard library
126
- ./cli/bsc myTestFile.res
126
+ ./cli/bsc.js myTestFile.res
127
127
```
128
128
129
129
To view the untyped tree of the file run:
130
130
131
131
``` sh
132
- ./cli/bsc -dparsetree myTestFile.res
132
+ ./cli/bsc.js -dparsetree myTestFile.res
133
133
```
134
134
135
135
To view the typed tree of the file run:
136
136
137
137
``` sh
138
- ./cli/bsc -dtypedtree myTestFile.res
138
+ ./cli/bsc.js -dtypedtree myTestFile.res
139
139
```
140
140
141
141
### Project
Original file line number Diff line number Diff line change 9
9
10
10
for file in ppx/* .res; do
11
11
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
13
13
# # CI. We use LF, and the CI OCaml fork prints CRLF. Convert.
14
14
if [ " $RUNNER_OS " == " Windows" ]; then
15
15
perl -pi -e ' s/\r\n/\n/g' -- $output
You can’t perform that action at this time.
0 commit comments