diff --git a/test/issue934-path-dep.sh b/test/issue934-path-dep.sh new file mode 100755 index 0000000..6aa477a --- /dev/null +++ b/test/issue934-path-dep.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +cd ${CURR_DIR}/issue934-path-dep +rm -rf main/.dub +rm -rf a/.dub +rm -rf b/.dub +rm -f main/dub.selections.json +cd main +${DUB} build --compiler=${DC} || exit 1 diff --git a/test/issue934-path-dep/.no_build b/test/issue934-path-dep/.no_build new file mode 100644 index 0000000..8d1c8b6 --- /dev/null +++ b/test/issue934-path-dep/.no_build @@ -0,0 +1 @@ + diff --git a/test/issue934-path-dep/a/dub.sdl b/test/issue934-path-dep/a/dub.sdl new file mode 100644 index 0000000..278a88a --- /dev/null +++ b/test/issue934-path-dep/a/dub.sdl @@ -0,0 +1 @@ +name "a" diff --git a/test/issue934-path-dep/b/dub.sdl b/test/issue934-path-dep/b/dub.sdl new file mode 100644 index 0000000..58a1812 --- /dev/null +++ b/test/issue934-path-dep/b/dub.sdl @@ -0,0 +1,2 @@ +name "b" +dependency "a" path="../a" \ No newline at end of file diff --git a/test/issue934-path-dep/b/source/b.d b/test/issue934-path-dep/b/source/b.d new file mode 100644 index 0000000..5b09673 --- /dev/null +++ b/test/issue934-path-dep/b/source/b.d @@ -0,0 +1,5 @@ +module b; + +void test() +{ +} diff --git a/test/issue934-path-dep/main/dub.sdl b/test/issue934-path-dep/main/dub.sdl new file mode 100644 index 0000000..e2d83f8 --- /dev/null +++ b/test/issue934-path-dep/main/dub.sdl @@ -0,0 +1,3 @@ +name "main" +dependency "a" path="../a" +dependency "b" path="../b" diff --git a/test/issue934-path-dep/main/source/app.d b/test/issue934-path-dep/main/source/app.d new file mode 100644 index 0000000..786e416 --- /dev/null +++ b/test/issue934-path-dep/main/source/app.d @@ -0,0 +1,6 @@ +import b; + +void main() +{ + test(); +}