Am 07.06.2016 um 13:09 schrieb Marc Schütz:
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:

    #!/usr/bin/env dub
    /++ dub.sdl:
        name "colortest"
        dependency "color" version="~>0.0.3"
    +/

Hmm... `/++` is for DDoc. Is this a good idea? Does it matter?

Oh, I typed that by accident, should be /+ dub.sdl: ... +/
BTW, /+ dub.json: ... +/ is also possible, of course.

Reply via email to