Skip to content

Commit 3bcd5e7

Browse files
committed
Replace mainSourceFile with excludedSourceFile in unittest build
The directive wasn't using `mainSourceFile`, because the configuration was only for testing.
1 parent e52eacf commit 3bcd5e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dub.sdl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@ configuration "unittest-vibe" {
3333
targetType "executable"
3434
targetPath "bin/"
3535
targetName "mysqln-tests-vibe"
36-
excludedSourceFiles "source/app.d"
36+
excludedSourceFiles "source/app.d" "source/mysql/package.d"
3737

3838
dependency "vibe-core" version="~>1.0" optional=false
3939

40-
mainSourceFile "source/mysql/package.d"
4140
debugVersions "MYSQLN_TESTS"
4241
}
4342

0 commit comments

Comments
 (0)