2023-08-29 13:47:42 +03:00
|
|
|
. ../../testutils.sh
|
|
|
|
|
2021-09-20 15:56:56 +03:00
|
|
|
if [ "$OS" = "windows" ]; then
|
|
|
|
MY_PWD="$(cygpath -m "$(pwd)")\\\\"
|
|
|
|
else
|
|
|
|
MY_PWD="$(pwd)/"
|
|
|
|
fi
|
|
|
|
|
|
|
|
MY_PWD="${MY_PWD}" ./gen_expected.sh
|
2021-06-14 18:12:46 +03:00
|
|
|
|
|
|
|
export IDRIS2_PACKAGE_PATH=$IDRIS2_PREFIX/$NAME_VERSION
|
2021-09-20 15:56:56 +03:00
|
|
|
export IDRIS2_PREFIX=${MY_PWD}currently/nonexistent/dir/
|
2021-06-14 18:12:46 +03:00
|
|
|
|
2022-09-09 09:08:39 +03:00
|
|
|
export IDRIS2_INC_CGS=
|
|
|
|
|
2023-08-29 13:47:42 +03:00
|
|
|
idris2 --install ./testpkg.ipkg | sed -r "s/.([0-9]){10}//g"
|
2021-06-14 18:12:46 +03:00
|
|
|
|
2021-09-20 15:56:56 +03:00
|
|
|
# ../ is there for some extra safety for using rm -rf
|
2021-10-07 16:05:33 +03:00
|
|
|
rm -rf ../pkg010/build ../pkg010/currently
|