On 08/11/2016 06:04 PM, Jonathan Marler wrote:
On Thursday, 11 August 2016 at 21:58:35 UTC, Chris Wright wrote:
On Thu, 11 Aug 2016 20:44:12 +0000, Lodovico Giaretta wrote:
In file rdmd_wrapper.sh:
rdmd -my-special -command-line -parameters $*
When you call it this way:
./rdmd_wrapper mymodule.d
You can add parameters inside the file itself:
#!/usr/bin/rdmd --shebang -m32 -d -I/opt/vibed/source
void main() {}
Maybe not ideal but it works.
This does work when you use rdmd myscript.d does it? Only when you run
./myscript.d?
And only on posix, not windows.