File tree 4 files changed +5
-2
lines changed
4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 70
70
run : |
71
71
cd analysis
72
72
mkdir ${{matrix.artifact-folder}}
73
- mv _build/install/default/bin/ rescript-editor-analysis.exe ${{matrix.artifact-folder}}
73
+ mv rescript-editor-analysis.exe ${{matrix.artifact-folder}}
74
74
tar -cvf binary.tar ${{matrix.artifact-folder}}
75
75
76
76
- uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ analysis/tests/lib
6
6
analysis /tests /.bsb.lock
7
7
analysis /_build
8
8
analysis /tests /.merlin
9
+ analysis /rescript-editor-analysis.exe
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ SHELL = /bin/bash
2
2
3
3
build-native :
4
4
dune build
5
+ cp _build/install/default/bin/rescript-editor-analysis.exe rescript-editor-analysis.exe
5
6
6
7
dce :
7
8
dune build @check @all
@@ -15,6 +16,7 @@ test: build-native tests/node_modules/.bin/rescript
15
16
./test.sh
16
17
17
18
clean : tests/node_modules/.bin/rescript
19
+ rm -f rescript-editor-analysis.exe
18
20
@cd tests && node_modules/.bin/rescript clean
19
21
dune clean
20
22
Original file line number Diff line number Diff line change 1
1
for file in tests/src/* .{res,resi}; do
2
2
output=" $( dirname $file ) /expected/$( basename $file ) .txt"
3
- ./_build/install/default/bin/ rescript-editor-analysis.exe test $file & > $output
3
+ ./rescript-editor-analysis.exe test $file & > $output
4
4
# CI. We use LF, and the CI OCaml fork prints CRLF. Convert.
5
5
if [ " $RUNNER_OS " == " Windows" ]; then
6
6
perl -pi -e ' s/\r\n/\n/g' -- $output
You can’t perform that action at this time.
0 commit comments