mirror of
https://github.com/mbierlee/poodinis.git
synced 2024-11-15 04:04:01 +01:00
Use empty main instead of relying on main generation by compilers
GDC doesn't seem to do this
This commit is contained in:
parent
f11c924ef3
commit
cc314324a7
8
dub.json
8
dub.json
|
@ -16,9 +16,7 @@
|
||||||
"sourcePaths": [
|
"sourcePaths": [
|
||||||
"test"
|
"test"
|
||||||
],
|
],
|
||||||
"dflags-dmd": [
|
"mainSourceFile": "test/poodinis/testmain.d"
|
||||||
"-main"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "unittestVerbose",
|
"name": "unittestVerbose",
|
||||||
|
@ -27,9 +25,7 @@
|
||||||
"sourcePaths": [
|
"sourcePaths": [
|
||||||
"test"
|
"test"
|
||||||
],
|
],
|
||||||
"dflags-dmd": [
|
"mainSourceFile": "test/poodinis/testmain.d"
|
||||||
"-main"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name" : "quickstartExample",
|
"name" : "quickstartExample",
|
||||||
|
|
8
test/poodinis/testmain.d
Normal file
8
test/poodinis/testmain.d
Normal 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() {}
|
Loading…
Reference in a new issue