Idris2/tests/idris2/pkg/pkg011/run
2023-09-07 14:57:22 +01:00

26 lines
432 B
Plaintext
Executable File

. ../../../testutils.sh
for t in dot dot-slash dot-slash-dot; do
cd $t
echo $t
idris2 --build testpkg.ipkg
rm -rf build/
check --find-ipkg Main.idr
rm -rf build/
cd ..
done
echo dot-slash-name-slash
cd dot-slash-name-slash
idris2 --build testpkg.ipkg
rm -rf build/
check --find-ipkg src/Main.idr
rm -rf build/
cd ..
echo sibling/pkg
cd sibling/pkg
idris2 --build testpkg.ipkg
rm -rf build/
cd ../..