table of contents
DUB-BUILD(1) | The D Language Foundation | DUB-BUILD(1) |
NAME¶
dub-build - Builds a package (uses the main package in the current working directory by default)
SYNOPSIS¶
dub build [<package>[@<version-spec>]] OPTIONS...
DESCRIPTION¶
Builds a package (uses the main package in the current working directory by default)
OPTIONS¶
--temp-build
--rdmd
-f, --force
-y, --yes
-n, --non-interactive
-d, --deep
-b, --build=VALUE
debug, plain, release, release-debug, release-nobounds, unittest, profile, profile-gc, docs, ddox, cov, cov-ctfe, unittest-cov, unittest-cov-ctfe, syntax and custom types
-c, --config=VALUE
--override-config=VALUE
--compiler=VALUE
dmd, gdc, ldc, gdmd, ldmd
-a, --arch=VALUE
-d, --debug=VALUE
--d-version=VALUE
--nodeps
--build-mode=VALUE
separate (default), allAtOnce, singleFile
--single
--force-remove
--filter-versions
--combined
--print-builds
--print-configs
--print-platform
--parallel
COMMON OPTIONS¶
See dub(1)
EXIT STATUS¶
- 0
- DUB succeeded
- 1
- usage errors, unknown command line flags
- 2
- package not found, package failed to load, miscellaneous error
FILES¶
dub.sdl, dub.json
AUTHOR¶
Copyright (c) 1999-2024 by The D Language Foundation
ONLINE DOCUMENTATION¶
SEE ALSO¶
dub(1), dub-run(1), dub-test(1), rdmd(1)
2024-08-01 | The D Language Foundation |