www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - DUB 0.9.24 release

reply =?UTF-8?Q?S=c3=b6nke_Ludwig?= <sludwig rejectedsoftware.com> writes:
Getting close to the 1.0.0 milestone, this release implements all of the 
major missing features except for a reviewed/cleaned up D API. The most 
important changes in this release are:

  - Support for SDLang [1] based package recipes. While JSON is and will
    stay available, this format is a lot more enjoyable, with support
    for comments and a much cleaner syntax. See the package format
    specification [2] for an overview.

  - Greatly enhanced "dub describe" support - includes a "targets" field
    usable for external build tools, adds a --data=... switch to output
    in shell-friendly format instead of JSON, supports a bunch of new
    environment variables for pre/post build/generate commands and more.

  - An experimental ARM build is now available on the download page.

  - Builds with DMD frontends 2.064.2 through 2.068.2.

Also new is an online documentation page of the command line interface 
[3], which is generated from the same information as the command line 
--help pages.


Download:
http://code.dlang.org/download

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

[1]: https://github.com/Abscissa/SDLang-D/
[2]: http://code.dlang.org/package-format?lang=sdl
[3]: http://code.dlang.org/docs/commandline
Sep 20 2015
next sibling parent ZombineDev <valid_email he.re> writes:
On Sunday, 20 September 2015 at 19:36:13 UTC, Sönke Ludwig wrote:
 [...]
Congrats! I really like the new SDLang format. BTW, I was just looking to update dub on my machine a moment before I saw this :P
Sep 20 2015
prev sibling next sibling parent CraigDillabaugh <craig.dillabaugh gmail.com> writes:
On Sunday, 20 September 2015 at 19:36:13 UTC, Sönke Ludwig wrote:
 Getting close to the 1.0.0 milestone, this release implements 
 all of the major missing features except for a reviewed/cleaned 
 up D API. The most important changes in this release are:
clip
 Download:
 http://code.dlang.org/download

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

 [1]: https://github.com/Abscissa/SDLang-D/
 [2]: http://code.dlang.org/package-format?lang=sdl
 [3]: http://code.dlang.org/docs/commandline
Thanks for all your hard work. The SDLang looks good, and the improved documentation is attractive.
Sep 21 2015
prev sibling next sibling parent reply Suliman <evermind live.ru> writes:
How I can add multiple dependencies? In json I was can wrote:
dependencies": {
		"dini": ">=1.0.0",
		"colorize": ">=1.0.5",
		"ddbc": ">=0.2.11",
	}

How it will be in SDL?
Sep 24 2015
next sibling parent reply Suliman <evermind live.ru> writes:
Does DUB still can't generate sdl package format after dub init?
It's a little bit not comfortable to have docs that describe SDL, 
when dub generate json.
Sep 24 2015
parent reply =?UTF-8?Q?S=c3=b6nke_Ludwig?= <sludwig rejectedsoftware.com> writes:
Am 24.09.2015 um 10:40 schrieb Suliman:
 Does DUB still can't generate sdl package format after dub init?
 It's a little bit not comfortable to have docs that describe SDL, when
 dub generate json.
No, it generates a dub.sdl file.
Sep 24 2015
parent reply Suliman <evermind live.ru> writes:
On Thursday, 24 September 2015 at 09:48:10 UTC, Sönke Ludwig 
wrote:
 Am 24.09.2015 um 10:40 schrieb Suliman:
 Does DUB still can't generate sdl package format after dub 
 init?
 It's a little bit not comfortable to have docs that describe 
 SDL, when
 dub generate json.
No, it generates a dub.sdl file.
Oh, I see I had conflict with double mention DUB is PATH. Yes now I see that it's work.
Sep 24 2015
parent reply Suliman <evermind live.ru> writes:
btw, yaml is still looks for me more readable and easier to 
googling.
Sep 24 2015
parent reply Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
On 09/24/2015 07:23 AM, Suliman wrote:
 btw, yaml is still looks for me more readable and easier to googling.
Yaml is a very complicated format.
Sep 24 2015
parent Jacob Carlborg <doob me.com> writes:
On 2015-09-24 17:03, Nick Sabalausky wrote:

 Yaml is a very complicated format.
For most usages I've seen it's very simple. Mostly only using key-values with some nesting. -- /Jacob Carlborg
Sep 25 2015
prev sibling parent reply John Colvin <john.loughran.colvin gmail.com> writes:
On Thursday, 24 September 2015 at 08:23:54 UTC, Suliman wrote:
 How I can add multiple dependencies? In json I was can wrote:
 dependencies": {
 		"dini": ">=1.0.0",
 		"colorize": ">=1.0.5",
 		"ddbc": ">=0.2.11",
 	}

 How it will be in SDL?
http://code.dlang.org/package-format?lang=sdl
Sep 24 2015
parent reply John Colvin <john.loughran.colvin gmail.com> writes:
On Thursday, 24 September 2015 at 09:21:06 UTC, John Colvin wrote:
 On Thursday, 24 September 2015 at 08:23:54 UTC, Suliman wrote:
 How I can add multiple dependencies? In json I was can wrote:
 dependencies": {
 		"dini": ">=1.0.0",
 		"colorize": ">=1.0.5",
 		"ddbc": ">=0.2.11",
 	}

 How it will be in SDL?
http://code.dlang.org/package-format?lang=sdl
woops, sorry, I see it's not actually mentioned there
Sep 24 2015
parent =?UTF-8?Q?S=c3=b6nke_Ludwig?= <sludwig rejectedsoftware.com> writes:
Am 24.09.2015 um 11:22 schrieb John Colvin:
 On Thursday, 24 September 2015 at 09:21:06 UTC, John Colvin wrote:
 On Thursday, 24 September 2015 at 08:23:54 UTC, Suliman wrote:
 How I can add multiple dependencies? In json I was can wrote:
 dependencies": {
         "dini": ">=1.0.0",
         "colorize": ">=1.0.5",
         "ddbc": ">=0.2.11",
     }

 How it will be in SDL?
http://code.dlang.org/package-format?lang=sdl
woops, sorry, I see it's not actually mentioned there
It's only mentioned implicitly by stating that all directives can be used multiple times to override/append. I'll mention this more explicitly. So the above example is: dependency "dini" version=">=1.0.0" dependency "colorize" version=">=1.0.5" dependency "ddbc" version=">=0.2.11"
Sep 24 2015
prev sibling next sibling parent reply Chris <wendlec tcd.ie> writes:
On Sunday, 20 September 2015 at 19:36:13 UTC, Sönke Ludwig wrote:

http://sdl.ikayzo.org/ does not work atm.

Is there a tool/switch that converts my old dub.json files to 
dub.sdl?
Sep 24 2015
parent reply Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
On 09/24/2015 09:45 AM, Chris wrote:
 On Sunday, 20 September 2015 at 19:36:13 UTC, Sönke Ludwig wrote:

 http://sdl.ikayzo.org/ does not work atm.
Permanent mirror here: http://semitwist.com/sdl-mirror/Home.html
 Is there a tool/switch that converts my old dub.json files to dub.sdl?
Not at the moment. But the SDLang-D project *does* need to add some conversion tools. I don't know that I can get to it right away though.
Sep 24 2015
parent Chris <wendlec tcd.ie> writes:
On Thursday, 24 September 2015 at 15:06:04 UTC, Nick Sabalausky 
wrote:
 On 09/24/2015 09:45 AM, Chris wrote:
 On Sunday, 20 September 2015 at 19:36:13 UTC, Sönke Ludwig 
 wrote:

 http://sdl.ikayzo.org/ does not work atm.
Permanent mirror here: http://semitwist.com/sdl-mirror/Home.html
 Is there a tool/switch that converts my old dub.json files to
dub.sdl? Not at the moment. But the SDLang-D project *does* need to add some conversion tools. I don't know that I can get to it right away though.
Cool. Thanks.
Sep 24 2015
prev sibling parent Bruno Medeiros <bruno.do.medeiros+dng gmail.com> writes:
On 20/09/2015 20:36, Sönke Ludwig wrote:
 Getting close to the 1.0.0 milestone, this release implements all of the
 major missing features except for a reviewed/cleaned up D API. The most
 important changes in this release are:

   - Support for SDLang [1] based package recipes. While JSON is and will
     stay available, this format is a lot more enjoyable, with support
     for comments and a much cleaner syntax. See the package format
     specification [2] for an overview.

   - Greatly enhanced "dub describe" support - includes a "targets" field
     usable for external build tools, adds a --data=... switch to output
     in shell-friendly format instead of JSON, supports a bunch of new
     environment variables for pre/post build/generate commands and more.

   - An experimental ARM build is now available on the download page.

   - Builds with DMD frontends 2.064.2 through 2.068.2.

 Also new is an online documentation page of the command line interface
 [3], which is generated from the same information as the command line
 --help pages.


 Download:
 http://code.dlang.org/download

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

 [1]: https://github.com/Abscissa/SDLang-D/
 [2]: http://code.dlang.org/package-format?lang=sdl
 [3]: http://code.dlang.org/docs/commandline
Nice stuff, keep up the good work! -- Bruno Medeiros https://twitter.com/brunodomedeiros
Sep 25 2015