-
Notifications
You must be signed in to change notification settings - Fork 379
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix existing package discovery in tests
- Loading branch information
1 parent
e227910
commit e8bee99
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
. ../../../testutils.sh | ||
|
||
TTC_VERSION="$(idris2 --ttc-version)" | ||
|
||
for folder in ./depends/*; do | ||
mkdir -p "${folder}/${TTC_VERSION}" | ||
done | ||
|
||
idris2 --build test1.ipkg | ||
idris2 --build test2.ipkg | ||
idris2 --build test3.ipkg | ||
idris2 --build test4.ipkg | ||
idris2 --build test5.ipkg | ||
|
||
for folder in ./depends/*; do | ||
rmdir "${folder}/${TTC_VERSION}" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
. ../../../testutils.sh | ||
|
||
TTC_VERSION="$(idris2 --ttc-version)" | ||
|
||
for folder in ./depends/*; do | ||
mkdir -p "${folder}/${TTC_VERSION}" | ||
done | ||
|
||
idris2 --build test.ipkg --log package.depends:10 | filter_test_dir | ||
|
||
for folder in ./depends/*; do | ||
rmdir "${folder}/${TTC_VERSION}" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
. ../../../testutils.sh | ||
|
||
TTC_VERSION="$(idris2 --ttc-version)" | ||
|
||
for folder in ./depends/*; do | ||
mkdir -p "${folder}/${TTC_VERSION}" | ||
done | ||
|
||
idris2 --build test.ipkg --log package.depends:10 | filter_test_dir | ||
|
||
for folder in ./depends/*; do | ||
rmdir "${folder}/${TTC_VERSION}" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
. ../../../testutils.sh | ||
|
||
TTC_VERSION="$(idris2 --ttc-version)" | ||
|
||
for folder in ./depends/*; do | ||
mkdir -p "${folder}/${TTC_VERSION}" | ||
done | ||
|
||
idris2 --build test.ipkg --log package.depends:10 | ||
|
||
for folder in ./depends/*; do | ||
rmdir "${folder}/${TTC_VERSION}" | ||
done |