File tree 5 files changed +36
-0
lines changed
issue622-subpackage-complex
5 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ cd ${CURR_DIR} /issue622-subpackage-complex
4
+ rm -rf foo/.dub
5
+ rm -rf .dub
6
+ ${DUB} build --bare --compiler=${COMPILER} test:test || exit 1
7
+ ${DUB} run --bare --compiler=${COMPILER} test:test || exit 1
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " test" ,
3
+ "subPackages" : [
4
+ " ./foo/" ,
5
+ {
6
+ "name" :" test" ,
7
+ "targetType" : " executable" ,
8
+ "targetName" : " test" ,
9
+ "version" : " ~master" ,
10
+ "dependencies" : {
11
+ "test:foo" : " ~master"
12
+ }
13
+ }
14
+ ]
15
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " foo"
3
+ }
Original file line number Diff line number Diff line change
1
+ module foo ;
2
+
3
+ void foo () {}
Original file line number Diff line number Diff line change
1
+ module test ;
2
+
3
+ import foo;
4
+
5
+ void main ()
6
+ {
7
+ foo.foo();
8
+ }
You can’t perform that action at this time.
0 commit comments