Release RDUB v1

JamesD via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Apr 26 19:59:16 PDT 2017


RDUB is a front end for DUB, a D language build tool. It's 
designed to build a single source file specified on the command 
line, without having to edit the dub files: dub.json, dub.sdl, 
src/app.d, source/app.d

https://github.com/jasc2v8/rdub

https://code.dlang.org/packages/rdub

This tool is great for running examples and building/testing 
small projects! It's used in my other projects, dlang-beginners 
and dwtlib.

$ rdmd rdub -h

rdub is a front end for DUB - a D language build tool

     rdub                 = run dub with defaults \src or 
\source\app.d

     rdub C:\path\foo.d   = run dub as follows:

     1. Copy C:\path\foo.d to src\foo.d
     2. Ask before deleting all other files in \src - avoids more 
than 1 main().
     2. Run dub to build and run src\app.d
     3. Pass all args to dub, except: -h or --help

     Requires: dub.json or dub.sdl must have name "exename" and 
targetType "executable"

Console Example

$ cd examples

examples-$ rdmd rdub -y console\hello

Performing "debug" build using dmd for x86.
example ~master: building configuration "application"...
Linking...
Running .\example.exe
Hello World.



More information about the Digitalmars-d-announce mailing list