-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add test that exercises new installdir command
- Loading branch information
1 parent
2560acb
commit 1787664
Showing
4 changed files
with
24 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/idris2-0.7.0/test-0.3.0 | ||
/idris2-0.7.0 |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
. ../../../testutils.sh | ||
|
||
# pretend Idris2 is installed at root for reproducible | ||
# installdirs: | ||
IDRIS2_PREFIX=/ idris2 --dump-installdir test.ipkg | ||
|
||
# by contrast, the location containing all installed packages: | ||
IDRIS2_PREFIX=/ idris2 --libdir | ||
|
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module Stuff | ||
|
||
export | ||
say : String | ||
say = "Stuff" |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package test | ||
version = 0.3.0 | ||
|
||
-- modules to install | ||
modules = Stuff | ||
|
||
sourcedir = "src" | ||
|