Re: Dub and what it does

2013-12-23 Thread Russel Winder
On Mon, 2013-12-23 at 10:57 +0100, Jacob Carlborg wrote: > On 2013-12-23 10:52, Jacob Carlborg wrote: > > > You need to add a package.json file to your project. > > > > http://code.dlang.org/package-format > > I accidentally sent the above message too soon. I was worried by that previous post as

Re: Dub and what it does

2013-12-23 Thread Alexandr Druzhinin
23.12.2013 15:04, Russel Winder пишет: For my (very) early stage GtkD program, my SCons script (using "all source at once") generates a 6MB executable that works. Dub appears to think that it is creating a .a archive and create 142MB of it. So how to create an executable with Dub? I statically b

Re: Dub and what it does

2013-12-23 Thread Jacob Carlborg
On 2013-12-23 10:52, Jacob Carlborg wrote: You need to add a package.json file to your project. http://code.dlang.org/package-format I accidentally sent the above message too soon. You either need to explicitly set the target type[1] to "executable" or make sure your project works with "aut

Re: Dub and what it does

2013-12-23 Thread Jacob Carlborg
On 2013-12-23 09:04, Russel Winder wrote: For my (very) early stage GtkD program, my SCons script (using "all source at once") generates a 6MB executable that works. Dub appears to think that it is creating a .a archive and create 142MB of it. So how to create an executable with Dub? You need t

Dub and what it does

2013-12-23 Thread Russel Winder
For my (very) early stage GtkD program, my SCons script (using "all source at once") generates a 6MB executable that works. Dub appears to think that it is creating a .a archive and create 142MB of it. So how to create an executable with Dub? -- Russel. ===