On Wednesday, 2 March 2016 at 12:52:34 UTC, Sebastiaan Koppe wrote:
On Monday, 29 February 2016 at 09:37:51 UTC, Atila Neves wrote:
        [...]

Worked nicely, but I had to change some configs.

        {
            "name": "unittest",
"preBuildCommands": ["dub run unit-threaded -c gen_ut_main -- -f bin/ut.d"],
            "importPaths": ["bin"],
            "mainSourceFile": "bin/ut.d",
            "excludedSourceFiles": ["app.d"],
            "targetType":"executable",
            "dependencies": {
                "unit-threaded": "~>0.6.3"
            }
        }

probably due to dub's default of the code being in `source/` instead of root folder. Do not know why I had to add `targetType:executable`, perhapse because my project is a library ?

Yeah, I think that's why. Glad it worked out for you!

Atila

Reply via email to