Re: DUB 0.9.24 release

2015-09-25 Thread Jacob Carlborg via Digitalmars-d-announce

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


Re: DUB 0.9.24 release

2015-09-25 Thread Bruno Medeiros via Digitalmars-d-announce

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


Re: DUB 0.9.24 release

2015-09-24 Thread Chris via Digitalmars-d-announce
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.


Re: DUB 0.9.24 release

2015-09-24 Thread Nick Sabalausky via Digitalmars-d-announce

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.




Re: DUB 0.9.24 release

2015-09-24 Thread Nick Sabalausky via Digitalmars-d-announce

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.


Re: DUB 0.9.24 release

2015-09-24 Thread Chris via Digitalmars-d-announce

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?


Re: DUB 0.9.24 release

2015-09-24 Thread Suliman via Digitalmars-d-announce
btw, yaml is still looks for me more readable and easier to 
googling.


Re: DUB 0.9.24 release

2015-09-24 Thread Suliman via Digitalmars-d-announce
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.







Re: DUB 0.9.24 release

2015-09-24 Thread Sönke Ludwig via Digitalmars-d-announce

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"



Re: DUB 0.9.24 release

2015-09-24 Thread Sönke Ludwig via Digitalmars-d-announce

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.


Re: DUB 0.9.24 release

2015-09-24 Thread John Colvin via Digitalmars-d-announce

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


Re: DUB 0.9.24 release

2015-09-24 Thread John Colvin via Digitalmars-d-announce

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


Re: DUB 0.9.24 release

2015-09-24 Thread Suliman via Digitalmars-d-announce

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.


Re: DUB 0.9.24 release

2015-09-24 Thread Suliman via Digitalmars-d-announce

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?


Re: DUB 0.9.24 release

2015-09-21 Thread CraigDillabaugh via Digitalmars-d-announce

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.


Re: DUB 0.9.24 release

2015-09-20 Thread ZombineDev via Digitalmars-d-announce

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


DUB 0.9.24 release

2015-09-20 Thread Sönke Ludwig via Digitalmars-d-announce
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