<p dir="ltr"><br>
On 07 Jun 2016 11:56, "Sönke Ludwig" <<a href="mailto:digitalmars-d-announce@puremagic.com">digitalmars-d-announce@puremagic.com</a>> wrote:<br>
><br>
> 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:<br>
><br>
> #!/usr/bin/env dub<br>
> /++ dub.sdl:<br>
> name "colortest"<br>
> dependency "color" version="~>0.0.3"<br>
> +/<br>
><br>
> void main()<br>
> {<br>
> import std.stdio : writefln;<br>
> import std.experimental.color.conv;<br>
> import std.experimental.color.hsx;<br>
> import std.experimental.color.rgb;<br>
><br>
> auto yellow = RGB!("rgb", float)(1.0, 1.0, 0.0);<br>
> writefln("Yellow in HSV: %s", yellow.convertColor!(HSV!()));<br>
> }<br>
><br>
> With "chmod +x" it can then simply be run as ./colortest.d.<br>
><br>
> Apart from that, the release contains some bug fixes, most notably it doesn't query the registry for each build any more.<br>
><br>
> Full change log:<br>
> <a href="https://github.com/D-Programming-Language/dub/blob/master/CHANGELOG.md">https://github.com/D-Programming-Language/dub/blob/master/CHANGELOG.md</a><br>
><br>
> Download (Latest Preview):<br>
> <a href="http://code.dlang.org/download">http://code.dlang.org/download</a></p>
<p dir="ltr">Awesome! Now we can do quick vibe test snippets without having to make a dub project. </p>