mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-27 13:43:28 +03:00
4220c644cf
* support for system command via node backend. * Add env var set/unset * fix env unset function * Update libs/base/System.idr * modify system test to cover node and chez. * Add base tests for env get/set
12 lines
243 B
Plaintext
Executable File
12 lines
243 B
Plaintext
Executable File
rm -rf build
|
|
|
|
# @system@ 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
|