Newer
Older
dub_jkp / changelog / custom-dub-init-type.dd
@andre2007 andre2007 on 10 Mar 2019 437 bytes Support of init-exec sub package
Support of custom dub init type

Command dub init now supports custom dub packages for argument `-t`.
$(CONSOLE
> dub init -n myPackage --format sdl -t custom-dub-init-dubpackage -- --foo=bar
)

Dub init will be invoked like before. The package `custom-dub-init-dubpackage`
contains a sub package `init-exec` which will be invoked afterwards to create a custom
package skeleton. Additional arguments could be passed e.g. `-- --foo=bar`.