Dub wrapper


Keywords
application, desktop, development, build, dlang, dscanner, dub
License
BSL-1.0
Install
dub fetch dubbio --version 0.9.5

Documentation

Dubbio

Dubbio is a wrapper to various command line tools for D language.

General usage

dubbio [--version] [<command>] [<options...>] [-- [<application arguments...>]]

Commands

Equivalent to
dub build
-b --build dub build
-x --run dub run
-t --test dub test
-C --clean dub clean
-T --tags dscanner --ctags src
-T dir --tags dir dscanner --ctags dir
-S --styleCheck dscanner -S src
-S dir --styleCheck dir dscanner -S dir
--ver Print package version
-z --upx upx --no-progress name

Options

Equivalent to
-c=value --config=value dub -cvalue
-e --nodeps dub --nodeps
-f --force dub --force
-l --ldc dub --compiler=ldc
--ldc2 dub --compiler=ldc2
-r --release dub -brelease
-s --single dub --build-mode=single-file --parallel
-v0 --verbosity=0 dub -q
-v1 --verbosity=1 dub
-v2 --verbosity=2 dub --verbose
-v3 --verbosity=3 dub --vverbose

Installation

First install:

then clone:

$ git clone git@github.com:o3o/dubbio.git

finally compile and install:

$ cd dubbio
$ ./install.sh

Configure vim

In order to set dubbio to run on the current file when :make is invoked, add:

autocmd Filetype d setlocal makeprg=dubbio

in your .vimrc file.