Re: dubs: Getting into the Node scripts market

2017-05-03 Thread Sönke Ludwig via Digitalmars-d
Am 03.05.2017 um 12:54 schrieb Andre Pany: Hi, it would be great if we can position D as replacement of Node scripts. With the --single argument of Dub we have almost everything we need in this scenario. But one thing is very odd. If you want to execute the app.d source file with dub you have t

Re: dubs: Getting into the Node scripts market

2017-05-03 Thread rikki cattermole via Digitalmars-d
On 03/05/2017 1:13 PM, Sönke Ludwig wrote: Am 03.05.2017 um 12:54 schrieb Andre Pany: Hi, it would be great if we can position D as replacement of Node scripts. With the --single argument of Dub we have almost everything we need in this scenario. But one thing is very odd. If you want to execu

Re: dubs: Getting into the Node scripts market

2017-05-03 Thread Andre Pany via Digitalmars-d
On Wednesday, 3 May 2017 at 12:16:30 UTC, rikki cattermole wrote: Actually there is a special syntax that is also used for shebang style scripts: `dub app.d arg1 arg2` is equivalent to `dub --quiet --temp-build --single app.d -- arg1 arg2`. It seems like the command line help wasn't really upd