diff --git a/test/issue959-path-based-subpack-dep/dub.sdl b/test/issue959-path-based-subpack-dep/dub.sdl new file mode 100644 index 0000000..727af60 --- /dev/null +++ b/test/issue959-path-based-subpack-dep/dub.sdl @@ -0,0 +1,6 @@ +name "bar" +mainSourceFile "main.d" +targetType "executable" + +dependency "foo" path="foo" +dependency "foo:baz" path="foo" diff --git a/test/issue959-path-based-subpack-dep/foo/dub.sdl b/test/issue959-path-based-subpack-dep/foo/dub.sdl new file mode 100644 index 0000000..8266250 --- /dev/null +++ b/test/issue959-path-based-subpack-dep/foo/dub.sdl @@ -0,0 +1,8 @@ +name "foo" +targetType "sourceLibrary" + +subPackage { + name "baz" + targetType "sourceLibrary" + dependency "foo" path="." +} diff --git a/test/issue959-path-based-subpack-dep/main.d b/test/issue959-path-based-subpack-dep/main.d new file mode 100644 index 0000000..05a37e9 --- /dev/null +++ b/test/issue959-path-based-subpack-dep/main.d @@ -0,0 +1 @@ +void main() {} \ No newline at end of file