Beta release DUB 1.0.0-beta.1
Sönke Ludwig via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Thu Jun 9 05:15:24 PDT 2016
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:
>> https://github.com/D-Programming-Language/dub/blob/master/CHANGELOG.md
>>
>> Download (Latest Preview):
>> http://code.dlang.org/download
>
> Hi,
>
> 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?
>
> Kind regards
> André
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.
More information about the Digitalmars-d-announce
mailing list