diff --git a/dub.json b/dub.json index 2376429..26eeb41 100644 --- a/dub.json +++ b/dub.json @@ -4,5 +4,7 @@ "description": "Example of a DUB package also usable as git submodule. For DUB test suite.", "importPaths": [".."], "sourcePaths": ["."], - "license": "public domain" + "license": "public domain", + "mainSourceFile": "hello.d", + "targetType": "executable" } diff --git a/hello.d b/hello.d new file mode 100644 index 0000000..4895fbe --- /dev/null +++ b/hello.d @@ -0,0 +1,7 @@ +module hello; + +void main(string[] args) +{ + import std.stdio; + writeln("Hello DUB"); +}