forked from dlang/dub
-
Notifications
You must be signed in to change notification settings - Fork 0
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
665173f
commit a0de6e7
Showing
17 changed files
with
68 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,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
. $(dirname "${BASH_SOURCE[0]}")/common.sh | ||
cd ${CURR_DIR}/issue2695-nonsensical-dependencies-1 | ||
rm -rf main/~master/main/.dub | ||
rm -rf a/~master/a/.dub | ||
rm -rf b/~master/b/.dub | ||
rm -rf c/0.0.0/c/.dub | ||
rm -rf c/0.0.1/c/.dub | ||
rm -f main/~master/main/dub.selections.json | ||
${DUB} build --bare --compiler=${DC} main | ||
|
||
|
||
if ! grep -c -e \"c\" main/dub.selections.json; then | ||
die $LINENO 'Dependency c not resolved.' | ||
fi |
Empty file.
3 changes: 3 additions & 0 deletions
3
test/issue2695-nonsensical-dependencies-1/a/~master/a/dub.sdl
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,3 @@ | ||
name "a" | ||
targetType "none" | ||
dependency "c" version="~>0.0.0" |
3 changes: 3 additions & 0 deletions
3
test/issue2695-nonsensical-dependencies-1/b/~master/b/dub.sdl
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,3 @@ | ||
name "b" | ||
targetType "none" | ||
dependency "c" version="0.0.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,3 @@ | ||
name "c" | ||
targetType "none" | ||
version "0.0.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,3 @@ | ||
name "c" | ||
targetType "none" | ||
version "0.0.1" |
3 changes: 3 additions & 0 deletions
3
test/issue2695-nonsensical-dependencies-1/main/~master/main/dub.sdl
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,3 @@ | ||
name "main" | ||
dependency "a" version="*" | ||
dependency "b" version="*" |
3 changes: 3 additions & 0 deletions
3
test/issue2695-nonsensical-dependencies-1/main/~master/main/source/app.d
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,3 @@ | ||
void main(){ | ||
|
||
} |
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,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
. $(dirname "${BASH_SOURCE[0]}")/common.sh | ||
cd ${CURR_DIR}/issue2695-nonsensical-dependencies-2 | ||
rm -rf main/~master/main/.dub | ||
rm -rf a/~master/a/.dub | ||
rm -rf b/~master/b/.dub | ||
rm -rf c/0.0.0/c/.dub | ||
rm -rf c/0.0.1/c/.dub | ||
rm -f main/~master/main/dub.selections.json | ||
${DUB} build --bare --compiler=${DC} main | ||
|
||
|
||
if ! grep -c -e \"c\" main/~master/main/dub.selections.json; then | ||
die $LINENO 'Dependency c not resolved.' | ||
fi |
Empty file.
3 changes: 3 additions & 0 deletions
3
test/issue2695-nonsensical-dependencies-2/a/~master/a/dub.sdl
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,3 @@ | ||
name "a" | ||
targetType "none" | ||
dependency "c" version="0.0.0" |
3 changes: 3 additions & 0 deletions
3
test/issue2695-nonsensical-dependencies-2/b/~master/b/dub.sdl
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,3 @@ | ||
name "b" | ||
targetType "none" | ||
dependency "c" version="~>0.0.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,3 @@ | ||
name "c" | ||
targetType "none" | ||
version "0.0.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,3 @@ | ||
name "c" | ||
targetType "none" | ||
version "0.0.1" |
3 changes: 3 additions & 0 deletions
3
test/issue2695-nonsensical-dependencies-2/main/~master/main/dub.sdl
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,3 @@ | ||
name "main" | ||
dependency "a" version="*" | ||
dependency "b" version="*" |
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
test/issue2695-nonsensical-dependencies-2/main/~master/main/source/app.d
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,3 @@ | ||
void main(){ | ||
|
||
} |