mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 12:14:26 +03:00
18 lines
432 B
Plaintext
Executable File
18 lines
432 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/
|
|
|
|
export IDRIS2_INC_CGS=
|
|
|
|
$1 --install ./testpkg.ipkg | sed -r "s/.([0-9]){10}//g"
|
|
|
|
# ../ is there for some extra safety for using rm -rf
|
|
rm -rf ../pkg010/build ../pkg010/currently
|