Idris2/tests/idris2/pkg003/run
Jan de Muijnck-Hughes 8b062f47cc Allow cli given option overriding for ipkg cmds.
As it was in Idris1 being able to override some, or introduce new, options to an Idris IPKG is beneficial. For example, generate code for multiple codegens from a single source.

Overridable options are:

+ `--quiet`
+ `--verbose`
+ `--timing`
+ `--dumpcases <file>`
+ `--dumplifted <file>`
+ `--dumpvmcode <file>`
+ `--debug-elab-check`
2020-05-26 14:41:09 +01:00

10 lines
267 B
Plaintext
Executable File

$1 --build testpkg.ipkg
rm -rf build/
$1 --build testpkg.ipkg --quiet
$1 --build testpkg.ipkg --verbose
$1 --build testpkg.ipkg --codegen gambit
$1 --build testpkg.ipkg --ide-mode
$1 --build malformed-package-name
$1 --build non-existent-package.ipkg
rm -rf build/