Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
for file in src/*.res; do
output="$(dirname $file)/expected/$(basename $file).txt"
../../../_build/install/default/bin/rescript-editor-analysis test $file &> $output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
for file in src/*.res; do
output="$(dirname $file)/expected/$(basename $file).txt"
../../../_build/install/default/bin/rescript-editor-analysis test $file &> $output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
DEBUG_FLAG="-debug"

if [ "$RUNNER_OS" == "Windows" ]; then
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
output="expected/termination.txt"
dune exec rescript-tools -- reanalyze -config -ci -debug > $output
# CI. We use LF, and the CI OCaml fork prints CRLF. Convert.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
for file in src/*.{res,resi}; do
output="$(dirname $file)/expected/$(basename $file).txt"
../../../_build/install/default/bin/rescript-editor-analysis test $file &> $output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
for file in src/*.{res,resi}; do
output="$(dirname $file)/expected/$(basename $file).json"
../../_build/install/default/bin/rescript-tools doc $file > $output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
for file in src/*.res; do
output="$(dirname $file)/expected/$(basename $file).txt"
../../../_build/install/default/bin/rescript-editor-analysis test $file &> $output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
for file in src/*.res; do
output="$(dirname $file)/expected/$(basename $file).txt"
../../../_build/install/default/bin/rescript-editor-analysis test $file &> $output
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
DEBUG_FLAG="-debug"

if [ "$RUNNER_OS" == "Windows" ]; then
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
output="expected/termination.txt"
dune exec rescript-tools -- reanalyze -config -ci -debug > $output
# CI. We use LF, and the CI OCaml fork prints CRLF. Convert.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
for file in src/*.{res,resi}; do
output="$(dirname $file)/expected/$(basename $file).txt"
../../../_build/install/default/bin/rescript-editor-analysis test $file &> $output
Expand Down
1 change: 1 addition & 0 deletions rescript-ecosystem/rescript/tests/tools_tests/test.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
for file in src/*.{res,resi}; do
output="$(dirname $file)/expected/$(basename $file).json"
../../_build/install/default/bin/rescript-tools doc $file > $output
Expand Down
Loading