Idris2/tests/idris2/pkg010/run
2021-09-29 18:42:20 +02:00

16 lines
377 B
Plaintext
Executable File

if [ "$OS" = "windows" ]; then
MY_PWD="$(cygpath -m "$(pwd)")\\\\"
else
MY_PWD="$(pwd)/"
fi
MY_PWD="${MY_PWD}" ./gen_expected.sh
export IDRIS2_PACKAGE_PATH=$IDRIS2_PREFIX/$NAME_VERSION
export IDRIS2_PREFIX=${MY_PWD}currently/nonexistent/dir/
$1 --install ./testpkg.ipkg
# ../ is there for some extra safety for using rm -rf
rm -rf ../pkg10/build ../pkg10/currently