Re: DUB 0.9.20

2013-12-11 Thread Sönke Ludwig
Am 06.12.2013 22:55, schrieb Mathias Lang: Great work, thank you Sönke ! 2013/12/6 Sönke Ludwig slud...@outerproduct.org mailto:slud...@outerproduct.org You need to delete the one in .dub/build/, the one in the target directory is just a copy of that one. BTW there is now a dub

Re: DUB 0.9.20

2013-12-11 Thread Sönke Ludwig
Am 09.12.2013 17:52, schrieb Jakob Ovrum: On Friday, 6 December 2013 at 19:57:17 UTC, Sönke Ludwig wrote: Am 06.12.2013 19:40, schrieb Jakob Ovrum: On Friday, 29 November 2013 at 17:02:22 UTC, Sönke Ludwig wrote: - Builds are now cached and only rebuilt when necessary for dub build and

Re: DUB 0.9.20

2013-12-11 Thread Jakob Ovrum
On Wednesday, 11 December 2013 at 09:47:27 UTC, Sönke Ludwig wrote: The current GIT master version now outputs a clearer message, stating that the existing binary from .dub/build/.../ is used. It also suggests to use --force to force a rebuild. Nice. The .dub/build/ folder is purely meant

Re: DUB 0.9.20

2013-12-09 Thread Jakob Ovrum
On Friday, 6 December 2013 at 19:57:17 UTC, Sönke Ludwig wrote: Am 06.12.2013 19:40, schrieb Jakob Ovrum: On Friday, 29 November 2013 at 17:02:22 UTC, Sönke Ludwig wrote: - Builds are now cached and only rebuilt when necessary for dub build and dub run. Deleting the output binary and

Re: DUB 0.9.20

2013-12-08 Thread Jacob Carlborg
On 2013-12-06 22:55, Mathias Lang wrote: Did you ever consider letting users add their own recipe (in Makefile terminology). ie, let them extend dub the same way you can extend git: one would put a bash / D / FancyScriptLanguage script under [~/].dub/whatever/deploy, and calling dub deploy

Re: DUB 0.9.20

2013-12-06 Thread Bruno Medeiros
On 03/12/2013 13:44, Sönke Ludwig wrote: Am 03.12.2013 13:47, schrieb Bruno Medeiros: On 29/11/2013 17:01, Sönke Ludwig wrote: A fresh DUB release is out. Apart from the usual bug fixes, there are a few considerable changes: Quick question: is there a way to install/fetch the dependencies

Re: DUB 0.9.20

2013-12-06 Thread Sönke Ludwig
Am 06.12.2013 13:57, schrieb Bruno Medeiros: On 03/12/2013 13:44, Sönke Ludwig wrote: Am 03.12.2013 13:47, schrieb Bruno Medeiros: On 29/11/2013 17:01, Sönke Ludwig wrote: A fresh DUB release is out. Apart from the usual bug fixes, there are a few considerable changes: Quick question: is

Re: DUB 0.9.20

2013-12-06 Thread Bruno Medeiros
On 06/12/2013 13:58, Sönke Ludwig wrote: Am 06.12.2013 13:57, schrieb Bruno Medeiros: On 03/12/2013 13:44, Sönke Ludwig wrote: Am 03.12.2013 13:47, schrieb Bruno Medeiros: On 29/11/2013 17:01, Sönke Ludwig wrote: A fresh DUB release is out. Apart from the usual bug fixes, there are a few

Re: DUB 0.9.20

2013-12-06 Thread Jakob Ovrum
On Friday, 29 November 2013 at 17:02:22 UTC, Sönke Ludwig wrote: - Builds are now cached and only rebuilt when necessary for dub build and dub run. Deleting the output binary and then immediately running `dub build` again fails horribly here; it seems to think the binary is up to date

Re: DUB 0.9.20

2013-12-06 Thread Dicebot
On Friday, 6 December 2013 at 18:40:59 UTC, Jakob Ovrum wrote: It has been said already in this thread, but for library targets it must ignore the lack of a main source file. It should go without saying that libraries generally don't have such a thing. It adding such requirement for static

Re: DUB 0.9.20

2013-12-06 Thread Dicebot
On Friday, 6 December 2013 at 19:10:51 UTC, Jakob Ovrum wrote: It's unreasonable for Dub to require users to change the structure of their project It has been doing it since the very beginning and still does.

Re: DUB 0.9.20

2013-12-06 Thread Jakob Ovrum
On Friday, 6 December 2013 at 19:14:46 UTC, Dicebot wrote: On Friday, 6 December 2013 at 19:10:51 UTC, Jakob Ovrum wrote: It's unreasonable for Dub to require users to change the structure of their project It has been doing it since the very beginning and still does. How so? In the very

Re: DUB 0.9.20

2013-12-06 Thread Sönke Ludwig
Am 06.12.2013 16:39, schrieb Bruno Medeiros: On 06/12/2013 13:58, Sönke Ludwig wrote: Am 06.12.2013 13:57, schrieb Bruno Medeiros: On 03/12/2013 13:44, Sönke Ludwig wrote: Am 03.12.2013 13:47, schrieb Bruno Medeiros: On 29/11/2013 17:01, Sönke Ludwig wrote: A fresh DUB release is out. Apart

Re: DUB 0.9.20

2013-12-06 Thread Sönke Ludwig
Am 06.12.2013 20:10, schrieb Jakob Ovrum: On Friday, 6 December 2013 at 18:55:22 UTC, Dicebot wrote: On Friday, 6 December 2013 at 18:40:59 UTC, Jakob Ovrum wrote: It has been said already in this thread, but for library targets it must ignore the lack of a main source file. It should go

Re: DUB 0.9.20

2013-12-06 Thread Sönke Ludwig
Am 06.12.2013 19:40, schrieb Jakob Ovrum: On Friday, 29 November 2013 at 17:02:22 UTC, Sönke Ludwig wrote: - Builds are now cached and only rebuilt when necessary for dub build and dub run. Deleting the output binary and then immediately running `dub build` again fails horribly here; it

Re: DUB 0.9.20

2013-12-06 Thread Jacob Carlborg
On 2013-12-06 19:55, Dicebot wrote: It adding such requirement for static libraries much of an issue? It provides quite lot of advantages. Though I guess dub can possibly generate such file on its own. This might also cause modules to be more coupled with each other and causing more of the

Re: DUB 0.9.20

2013-12-06 Thread Mathias Lang
Great work, thank you Sönke ! 2013/12/6 Sönke Ludwig slud...@outerproduct.org You need to delete the one in .dub/build/, the one in the target directory is just a copy of that one. BTW there is now a dub build --force switch, which forces a recompilation, and a dub clean command will also

Re: DUB 0.9.20

2013-12-03 Thread Bruno Medeiros
On 29/11/2013 17:01, Sönke Ludwig wrote: A fresh DUB release is out. Apart from the usual bug fixes, there are a few considerable changes: Quick question: is there a way to install/fetch the dependencies of a package, without having to build? That is, without using dub build ? -- Bruno

Re: DUB 0.9.20

2013-12-03 Thread Mike Parker
On 12/3/2013 9:47 PM, Bruno Medeiros wrote: On 29/11/2013 17:01, Sönke Ludwig wrote: A fresh DUB release is out. Apart from the usual bug fixes, there are a few considerable changes: Quick question: is there a way to install/fetch the dependencies of a package, without having to build? That

Re: DUB 0.9.20

2013-12-03 Thread Bruno Medeiros
On 03/12/2013 13:00, Mike Parker wrote: On 12/3/2013 9:47 PM, Bruno Medeiros wrote: On 29/11/2013 17:01, Sönke Ludwig wrote: A fresh DUB release is out. Apart from the usual bug fixes, there are a few considerable changes: Quick question: is there a way to install/fetch the dependencies of

Re: DUB 0.9.20

2013-12-03 Thread ponce
On Tuesday, 3 December 2013 at 13:18:13 UTC, Bruno Medeiros wrote: That only works if packageName is a package in the DUB registry. It won't work for a locally created package. You can make dub aware of such a package with: $ dub all-local . ~master In which case, this particular package

Re: DUB 0.9.20

2013-12-03 Thread ponce
You can make dub aware of such a package with: $ dub all-local . ~master In which case, this particular package doesn't need to be dub-installed. I meant add-local not all-local.

Re: DUB 0.9.20

2013-12-03 Thread Dicebot
On Tuesday, 3 December 2013 at 13:00:06 UTC, Mike Parker wrote: On 12/3/2013 9:47 PM, Bruno Medeiros wrote: On 29/11/2013 17:01, Sönke Ludwig wrote: A fresh DUB release is out. Apart from the usual bug fixes, there are a few considerable changes: Quick question: is there a way to

Re: DUB 0.9.20

2013-12-03 Thread Sönke Ludwig
Am 03.12.2013 13:47, schrieb Bruno Medeiros: On 29/11/2013 17:01, Sönke Ludwig wrote: A fresh DUB release is out. Apart from the usual bug fixes, there are a few considerable changes: Quick question: is there a way to install/fetch the dependencies of a package, without having to build?

Re: DUB 0.9.20

2013-12-02 Thread Piotr Szturmaj
Jordi Sayol wrote: El 30/11/13 02:08, Piotr Szturmaj ha escrit: Sönke Ludwig wrote: A fresh DUB release is out. Apart from the usual bug fixes, there are a few considerable changes: Thanks! Have you considered adding a version number to dub help and/or a --version option? $ dub help

Re: DUB 0.9.20

2013-12-02 Thread Sönke Ludwig
Am 02.12.2013 12:25, schrieb Piotr Szturmaj: Jordi Sayol wrote: El 30/11/13 02:08, Piotr Szturmaj ha escrit: Sönke Ludwig wrote: A fresh DUB release is out. Apart from the usual bug fixes, there are a few considerable changes: Thanks! Have you considered adding a version number to dub help

Re: DUB 0.9.20

2013-11-30 Thread Rory McGuire
On 30 Nov 2013 01:55, Sönke Ludwig slud...@outerproduct.org wrote: Am 29.11.2013 23:05, schrieb Jonathan M Davis: On Friday, November 29, 2013 18:01:53 Sönke Ludwig wrote: - Running dub --build=ddox runs a local HTTP server that provides the docs instead of generating them all as

DUB 0.9.20

2013-11-29 Thread Sönke Ludwig
A fresh DUB release is out. Apart from the usual bug fixes, there are a few considerable changes: - Builds are now cached and only rebuilt when necessary for dub build and dub run. - Generated VisualD projects and the output of dub describe now contain import files and string import files

Re: DUB 0.9.20

2013-11-29 Thread Jordi Sayol
New dub v0.9.20 deb packages available at: d-apt http://d-apt.sourceforge.net/ -- Jordi Sayol

Re: DUB 0.9.20

2013-11-29 Thread ilya-stromberg
On Friday, 29 November 2013 at 19:15:13 UTC, Jordi Sayol wrote: New dub v0.9.20 deb packages available at: d-apt http://d-apt.sourceforge.net/ Thank you. BTW, it would be great to have packages for previous DMD versions. You already support it for `libphobos2-nn` and almost for all other

Re: DUB 0.9.20

2013-11-29 Thread Jordi Sayol
El 29/11/13 20:37, ilya-stromberg ha escrit: On Friday, 29 November 2013 at 19:15:13 UTC, Jordi Sayol wrote: New dub v0.9.20 deb packages available at: d-apt http://d-apt.sourceforge.net/ Thank you. BTW, it would be great to have packages for previous DMD versions. You already support it

Re: DUB 0.9.20

2013-11-29 Thread ilya-stromberg
On Friday, 29 November 2013 at 20:17:54 UTC, Jordi Sayol wrote: El 29/11/13 20:37, ilya-stromberg ha escrit: On Friday, 29 November 2013 at 19:15:13 UTC, Jordi Sayol wrote: New dub v0.9.20 deb packages available at: d-apt http://d-apt.sourceforge.net/ Thank you. BTW, it would be great to

Re: DUB 0.9.20

2013-11-29 Thread Jonathan M Davis
On Friday, November 29, 2013 18:01:53 Sönke Ludwig wrote: - Running dub --build=ddox runs a local HTTP server that provides the docs instead of generating them all as actual HTML files. Why would that be desirable? I would expect a set of HTML files if generating documentation, and if a

Re: DUB 0.9.20

2013-11-29 Thread Jordi Sayol
El 29/11/13 21:54, ilya-stromberg ha escrit: On Friday, 29 November 2013 at 20:17:54 UTC, Jordi Sayol wrote: El 29/11/13 20:37, ilya-stromberg ha escrit: On Friday, 29 November 2013 at 19:15:13 UTC, Jordi Sayol wrote: New dub v0.9.20 deb packages available at: d-apt

Re: DUB 0.9.20

2013-11-29 Thread Sönke Ludwig
Am 29.11.2013 21:27, schrieb Shammah Chancellor: On 2013-11-29 17:01:53 +, Sönke Ludwig said: - Builds are now cached and only rebuilt when necessary for dub build and dub run. Doesn't seem to be working correctly for me. Won't rebuild after a build failure. Hm... there may be

Re: DUB 0.9.20

2013-11-29 Thread Sönke Ludwig
Am 29.11.2013 23:05, schrieb Jonathan M Davis: On Friday, November 29, 2013 18:01:53 Sönke Ludwig wrote: - Running dub --build=ddox runs a local HTTP server that provides the docs instead of generating them all as actual HTML files. Why would that be desirable? I would expect a set of

Re: DUB 0.9.20

2013-11-29 Thread Piotr Szturmaj
Sönke Ludwig wrote: A fresh DUB release is out. Apart from the usual bug fixes, there are a few considerable changes: Thanks! Have you considered adding a version number to dub help and/or a --version option?

Re: DUB 0.9.20

2013-11-29 Thread Jordi Sayol
El 30/11/13 02:08, Piotr Szturmaj ha escrit: Sönke Ludwig wrote: A fresh DUB release is out. Apart from the usual bug fixes, there are a few considerable changes: Thanks! Have you considered adding a version number to dub help and/or a --version option? $ dub help prints version on last

Re: DUB 0.9.20

2013-11-29 Thread Puming
On Saturday, 30 November 2013 at 02:16:50 UTC, Puming wrote: On Friday, 29 November 2013 at 17:02:22 UTC, Sönke Ludwig wrote: - Builds are now cached and only rebuilt when necessary for dub build and dub run. When I build a vibe project, and edit the app.d and then build again, an error

Re: DUB 0.9.20

2013-11-29 Thread Sönke Ludwig
Am 30.11.2013 03:21, schrieb Puming: On Saturday, 30 November 2013 at 02:16:50 UTC, Puming wrote: On Friday, 29 November 2013 at 17:02:22 UTC, Sönke Ludwig wrote: - Builds are now cached and only rebuilt when necessary for dub build and dub run. When I build a vibe project, and edit the

Re: DUB 0.9.20

2013-11-29 Thread Shammah Chancellor
On 2013-11-29 22:39:33 +, Sönke Ludwig said: Am 29.11.2013 21:27, schrieb Shammah Chancellor: On 2013-11-29 17:01:53 +, Sönke Ludwig said: - Builds are now cached and only rebuilt when necessary for dub build and dub run. Doesn't seem to be working correctly for me. Won't rebuild

Re: DUB 0.9.20

2013-11-29 Thread Shammah Chancellor
On 2013-11-30 02:58:50 +, Sönke Ludwig said: This is planned, but (AFAIK) this is not yet possible in an optimal way due to how DMD emits symbols to object files. Currently the only reliable way to build incrementally is to compile a single file at a time, but this is very inefficient