Use empty main instead of relying on main generation by compilers

GDC doesn't seem to do this
This commit is contained in:
Mike Bierlee 2016-12-13 22:28:12 +01:00
parent f11c924ef3
commit cc314324a7
2 changed files with 10 additions and 6 deletions

View file

@ -16,9 +16,7 @@
"sourcePaths": [
"test"
],
"dflags-dmd": [
"-main"
]
"mainSourceFile": "test/poodinis/testmain.d"
},
{
"name": "unittestVerbose",
@ -27,9 +25,7 @@
"sourcePaths": [
"test"
],
"dflags-dmd": [
"-main"
]
"mainSourceFile": "test/poodinis/testmain.d"
},
{
"name" : "quickstartExample",

8
test/poodinis/testmain.d Normal file
View file

@ -0,0 +1,8 @@
/**
* Poodinis Dependency Injection Framework
* Copyright 2014-2016 Mike Bierlee
* This software is licensed under the terms of the MIT license.
* The full terms of the license can be found in the LICENSE file.
*/
void main() {}