mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 10:41:59 +03:00
26 lines
432 B
Plaintext
Executable File
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 ../..
|