Skip to content

Commit 639fb75

Browse files
committed
Get rid of a dub warning
1 parent 11745fa commit 639fb75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dub.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
"name": "unittest",
2121
"targetType": "executable",
2222
"sourcePaths": ["test"],
23-
"buildOptions": ["debugInfoC", "unittests"],
24-
"dflags": ["-main"]
23+
"mainSourceFile": "test/main.d"
2524
}
2625
]
2726
}

test/main.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
void main() { }

0 commit comments

Comments
 (0)