mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-30 15:13:37 +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
273 B
Plaintext
Executable File
12 lines
273 B
Plaintext
Executable File
rm -rf build
|
|
|
|
# @getEnv@ and @setEnv@ use primitive functions with definitions for both
|
|
# C (supported by most backends) and Node.
|
|
$1 --cg chez -o test Test.idr
|
|
HELLO=hi ./build/exec/test
|
|
|
|
rm -rf ./build
|
|
|
|
$1 --cg node -o test.js Test.idr
|
|
HELLO=hi node ./build/exec/test.js
|