From 026ea7128f3e311b427031578cbda0e939ed25f2 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Tue, 17 Oct 2017 23:15:26 +0200 Subject: [PATCH] dont't compile source/calendarwebapp/app.d when perform a unittest build. Fixes #5 --- dub.json | 1 + 1 file changed, 1 insertion(+) diff --git a/dub.json b/dub.json index 8b3aee1..8bdeac1 100644 --- a/dub.json +++ b/dub.json @@ -29,6 +29,7 @@ "targetType": "executable", "preBuildCommands": ["dub run unit-threaded -c gen_ut_main -- -f generated/ut.d test"], "mainSourceFile": "generated/ut.d", + "excludedSourceFiles": ["source/calendarwebapp/app.d"], "sourcePaths": ["test"], "dependencies": { "unit-threaded": "~>0.7.31"