Idris2/tests/idris2/pkg011/run

26 lines
429 B
Plaintext
Raw Normal View History

2023-08-29 13:47:42 +03:00
. ../../testutils.sh
for t in dot dot-slash dot-slash-dot; do
cd $t
echo $t
2023-08-29 13:47:42 +03:00
idris2 --build testpkg.ipkg
rm -rf build/
2023-08-29 13:47:42 +03:00
check --find-ipkg Main.idr
rm -rf build/
cd ..
done
echo dot-slash-name-slash
cd dot-slash-name-slash
2023-08-29 13:47:42 +03:00
idris2 --build testpkg.ipkg
rm -rf build/
2023-08-29 13:47:42 +03:00
check --find-ipkg src/Main.idr
rm -rf build/
cd ..
echo sibling/pkg
cd sibling/pkg
2023-08-29 13:47:42 +03:00
idris2 --build testpkg.ipkg
rm -rf build/
cd ../..