-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7efe5ea
commit 24c7cdf
Showing
6 changed files
with
19 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,8 @@ | ||
discard """ | ||
matrix: "--moduleoverride:pkgC/module2:std/foo2b:$nim_prs_D/lib/" | ||
# matrix: "--moduleoverride:std/foo2:std/foo2b:$nim_prs_D/lib/" | ||
""" | ||
import std/strutils | ||
import pkgA/module2 as A | ||
import pkgB/module2 as B | ||
import pkgC/module2 as C |
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 @@ | ||
switch("clearNimblePath") | ||
switch("nimblePath", "$projectdir/nimbleDir/simplePkgs") | ||
switch("path", "$nimblepath/pkgA-0.1.0") | ||
switch("path", "$nimblepath/pkgB-#head") | ||
switch("path", "$nimblepath/pkgC-#head") |
2 changes: 2 additions & 0 deletions
2
tests/nimble/nimbleDir/simplePkgs/pkgA-0.1.0/pkgA/module2.nim
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 @@ | ||
static: echo "in pkgA.module2" | ||
import pkgC/module2 |
2 changes: 2 additions & 0 deletions
2
tests/nimble/nimbleDir/simplePkgs/pkgB-#head/pkgB/module2.nim
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 @@ | ||
static: echo "in pkgB.module2" | ||
import pkgC/module2 |
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 @@ | ||
static: echo "in pkgC.module2" |
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 @@ | ||
static: echo "in pkgC.module2b" |