Jump to page: 1 26  
Page
Thread overview
Beta release DUB 1.0.0-beta.1
Jun 07, 2016
Sönke Ludwig
Jun 07, 2016
Edwin van Leeuwen
Jun 07, 2016
wobbles
Jun 07, 2016
Luis
Jun 07, 2016
Marc Schütz
Jun 07, 2016
Sönke Ludwig
Jun 07, 2016
Jacob Carlborg
Jun 07, 2016
Sönke Ludwig
Jun 08, 2016
Jacob Carlborg
Jun 08, 2016
Sönke Ludwig
Jun 08, 2016
Jacob Carlborg
Jun 08, 2016
burjui
Jun 08, 2016
Sönke Ludwig
Jun 08, 2016
Mike Parker
Jun 08, 2016
Jacob Carlborg
Jun 08, 2016
Sönke Ludwig
Jun 08, 2016
Rory McGuire
Jun 08, 2016
Sönke Ludwig
Jun 09, 2016
Sönke Ludwig
Jun 10, 2016
Rory McGuire
Jun 10, 2016
Rory McGuire
Jun 10, 2016
Sönke Ludwig
Jun 10, 2016
Rory McGuire
Jun 10, 2016
Rory McGuire
Jun 08, 2016
Kagamin
Nested comments
Jun 08, 2016
John Colvin
Jun 08, 2016
ketmar
Jun 10, 2016
Nick Sabalausky
Jun 13, 2016
Kagamin
Jun 15, 2016
Nick Sabalausky
Jun 08, 2016
Rory McGuire
Jun 08, 2016
Rory McGuire
Jun 08, 2016
Rory McGuire
Jun 07, 2016
meppl
Jun 07, 2016
earthfront
Jun 07, 2016
Rory McGuire
Jun 08, 2016
Nordlöw
Jun 09, 2016
Andre Pany
Jun 09, 2016
Mike Parker
Jun 09, 2016
Andre Pany
Jun 09, 2016
Andre Pany
Jun 09, 2016
drug
Jun 09, 2016
Andre Pany
Jun 09, 2016
Sönke Ludwig
Jun 09, 2016
Andre Pany
Jun 13, 2016
Andre Pany
Jun 13, 2016
Sönke Ludwig
Jun 09, 2016
Dechcaudron
Jun 11, 2016
Manu
Jun 13, 2016
Saurabh Das
Release candidate 1.0.0-rc.1 is out
Jun 15, 2016
Sönke Ludwig
Jun 16, 2016
wobbles
Jun 17, 2016
mark_mcs
Jun 17, 2016
Sönke Ludwig
June 07, 2016
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"
    +/

    void main()
    {
        import std.stdio : writefln;
        import std.experimental.color.conv;
        import std.experimental.color.hsx;
        import std.experimental.color.rgb;

        auto yellow = RGB!("rgb", float)(1.0, 1.0, 0.0);
        writefln("Yellow in HSV: %s", yellow.convertColor!(HSV!()));
    }

With "chmod +x" it can then simply be run as ./colortest.d.

Apart from that, the release contains some bug fixes, most notably it doesn't query the registry for each build any more.

Full change log:
https://github.com/D-Programming-Language/dub/blob/master/CHANGELOG.md

Download (Latest Preview):
http://code.dlang.org/download
June 07, 2016
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"
>     +/
>

I love that as a feature! Thanks for adding that.

June 07, 2016
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:
>
> [...]

This is great - very nice feature.
That was one of the things I missed most when moving from rdmd to dub - so good to see it back!
June 07, 2016
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"
>     +/
>
>     void main()
>     {
>         import std.stdio : writefln;
>         import std.experimental.color.conv;
>         import std.experimental.color.hsx;
>         import std.experimental.color.rgb;
>
>         auto yellow = RGB!("rgb", float)(1.0, 1.0, 0.0);
>         writefln("Yellow in HSV: %s", yellow.convertColor!(HSV!()));
>     }
>
> With "chmod +x" it can then simply be run as ./colortest.d.
>
> Apart from that, the release contains some bug fixes, most notably it doesn't query the registry for each build any more.
>
> Full change log:
> https://github.com/D-Programming-Language/dub/blob/master/CHANGELOG.md
>
> Download (Latest Preview):
> http://code.dlang.org/download

YES!
June 07, 2016
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?
June 07, 2016
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.
June 07, 2016
On Tuesday, 7 June 2016 at 09:54:19 UTC, Sönke Ludwig wrote:
>
>     #!/usr/bin/env dub
>     /++ dub.sdl:
>         name "colortest"
>         dependency "color" version="~>0.0.3"
>     +/
>

this is exactly what i could make good use of for my scripting stuff. thank you for implementing

June 07, 2016
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

So nice. Thanks so much!

This is great for solutions to project euler problems!
June 07, 2016
On 2016-06-07 13:22, Sönke Ludwig wrote:

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

Does it work with all kind of comments D supports?

-- 
/Jacob Carlborg
June 07, 2016
On 07 Jun 2016 11:56, "Sönke Ludwig" <digitalmars-d-announce@puremagic.com> 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"
>     +/
>
>     void main()
>     {
>         import std.stdio : writefln;
>         import std.experimental.color.conv;
>         import std.experimental.color.hsx;
>         import std.experimental.color.rgb;
>
>         auto yellow = RGB!("rgb", float)(1.0, 1.0, 0.0);
>         writefln("Yellow in HSV: %s", yellow.convertColor!(HSV!()));
>     }
>
> With "chmod +x" it can then simply be run as ./colortest.d.
>
> Apart from that, the release contains some bug fixes, most notably it
doesn't query the registry for each build any more.
>
> Full change log: https://github.com/D-Programming-Language/dub/blob/master/CHANGELOG.md
>
> Download (Latest Preview):
> http://code.dlang.org/download

Awesome! Now we can do quick vibe test snippets without  having to make a dub project.


« First   ‹ Prev
1 2 3 4 5 6