Am 09.06.2016 um 12:23 schrieb Andre Pany:
On Tuesday, 7 June 2016 at 09:54:19 UTC, Sönke Ludwig wrote:
DUB 1.0.0 is nearing completion. The new feature over 0.9.25 is
support for single-file packages, which can be used to write
shebang-style scripts on Posix systems:
Full change log:
Download (Latest Preview):
Following command does not work:
dub app.d build --build=release
I want to compile the application without starting it.
Error: Expected one or zero arguments.
Is this by intention?
You need to use the --single switch:
dub build --single=app.d --build=release
For the commandline that you have used, the arguments "build
--build=release" will be passed to the compiled app.d executable
instead. I'll deploy proper documentation together with the release.