Idris2/tests/node/executable/run
2024-01-06 14:30:35 -06:00

10 lines
242 B
Plaintext

. ../../testutils.sh
idris2 --cg node -o node_executable TestExecutable.idr > /dev/null
# node still executes it
node ./build/exec/node_executable
# can be executed on its own due to shebang and executable bit
./build/exec/node_executable