Idris2/tests/base/system_file_remove/run

12 lines
247 B
Plaintext
Raw Normal View History

2022-04-07 12:09:30 +03:00
rm -rf build
# @removeFile@ uses primitive functions with definitions for both
# C (supported by most backends) and Node.
$1 --cg chez -o test Test.idr
./build/exec/test
rm -rf ./build
$1 --cg node -o test.js Test.idr
node ./build/exec/test.js