Another take on decimal data types
kdevel
kdevel at vogtner.de
Sat Jan 13 13:49:59 UTC 2018
On Saturday, 13 January 2018 at 13:44:20 UTC, kdevel wrote:
> $ dub
> Performing "debug" build using dmd for x86_64.
> decimal ~master: building configuration "library"...
> src/test/test.d(4,5): Error: only one main allowed. Previously
> found main at src/benchmark/benchmark.d(143,5)
> dmd failed with exit code 1.
diff --git a/dub.json b/dub.json
index c48899f..d8882c1 100644
--- a/dub.json
+++ b/dub.json
@@ -10,16 +10,16 @@
"configurations": [
{
"name": "library",
- "excludedSourceFiles": [ "src/benchmark.d",
"src/test.d" ]
+ "excludedSourceFiles": [
"src/benchmark/benchmark.d", "src/test/test.d" ]
},
{
"name": "unittest",
- "excludedSourceFiles": [ "src/benchmark.d",
"src/test.d" ]
+ "excludedSourceFiles": [
"src/benchmark/benchmark.d", "src/test/test.d" ]
},
{
"name": "benchmark",
"targetType": "executable",
- "excludedSourceFiles": [ "src/test.d" ]
+ "excludedSourceFiles": [ "src/test/test.d" ]
}
]
}
More information about the Digitalmars-d-announce
mailing list