Closed nordlow closed 1 week ago
Which version?
redub build information
--root Path to operate in instead of the current working dir
--recipe Loads a custom recipe path instead of dub.json/dub.sdl
--registry Search the given registry URL first when resolving dependencies. Can be specified multiple times. Available registry types: DUB: URL to DUB registry (default) Maven: URL to Maven repository + group id containing dub packages as artifacts. E.g. mvn+http://localhost:8040/maven/libs-release/dubpackages
--skip-registry Sets a mode for skipping the search on certain package registry types: none: Search all configured or default registries (default) standard: Don't search the main registry (e.g. https://code.dlang.org/) configured: Skip all default and user configured registries all: Only search registries specified with --registry
--annotate Do not perform any action, just print what would be done
--bare Read only packages contained in the current directory
-v --verbose Print diagnostic output
--vverbose Print debug output
-q --quiet Only print warnings and errors
--verror Only print errors
--vquiet Print no messages
--color Configure colored output. Accepted values: auto: Colored output on console/terminal, unless NO_COLOR is set and non-empty (default) always: Force colors enabled never: Force colors disabled
--cache Puts any fetched packages in the specified location [local|system|user].
--temp-build Builds the project in the temp folder if possible.
--rdmd Use rdmd instead of directly invoking the compiler
-f --force Forces a recompilation even if the target is up to date
--y/yes Automatic yes to prompts. Assume "yes" as answer to all interactive prompts.
-n --non-interactive Don't enter interactive mode.
--incremental Build incrementally. This usually works on a case basis, so for you case, disabling it might make it faster.It is inferred to be incremental when dependencies count >= 3. Supports |auto|on|off|
--parallel Build parallelization type. Supported options are |auto|full|leaves|no|. Default being auto. Full will attempt to build every dependency at the same time. Leaves will build in parallel the dependencies that has no dependency. No will build in single thread.
--use-existing-obj Whether or not to use existing .obj/.o files on the root build. Supported options are |auto|on|off. Based on tests, it can bring faster compilation when your package is not using libraries. Auto will deactivate existing objects when your package has any lib dependencies, while keep it active when no dependency is there
--combined Tries to build the whole project in a single compiler run
--deep Build all dependencies, even when main target is a static library.
-b --build Specifies the type of build to perform. Note that setting the DFLAGS environment variable will override the build type with custom flags.Possible names:
-c --config Builds the specified configuration. Configurations can be defined in dub.json
--compiler Specifies the compiler binary to use (can be a path)Arbitrary pre- and suffixes to the identifiers below are recognized (e.g. ldc2 or dmd-2.063) and matched to the proper compiler type:dmd, gdc, ldc, gdmd, ldmd, gcc, g++
--targetPath Specifies where the target output is.
--targetName Specifies the target name
--assume-compiler Specifies a version string which contains the compiler name and its version This can make the dependency resolution a lot faster since executing compiler --version won't be necessary Valid format: "dmd v[2.106.0]", "ldc2 v[1.36.0] f[2.105.0]" - v stands for compiler version, f for
frontend
-a --arch Force a different architecture (e.g. x86 or x86_64)
-d --debug Define the specified `debug` version identifier when building - can be used multiple times
--d-version Define the specified `version` identifier when building - can be used multiple times.Use sparingly, with great power comes great responsibility! For commonly used or combined versions and versions that dependees should be able to use, create configurations in your package.
--nodeps Do not resolve missing dependencies before building
--build-mode Specifies the way the compiler and linker are invoked. Valid values: separate (default), allAtOnce, singleFile
--single Treats the package name as a filename. The file must contain a package recipe comment. On Redub, it will forward to dub since it cannot handle at the moment.
--version Shows redub version
--force-remove Deprecated option that does nothing.
--filterVersions [Experimental] Filter version identifiers and debug version identifiers to improve build cache efficiency.
-h --help This help information.
Is that still an issue?
Is that still an issue?
No, sorry. Forgot about this one. Works perfectly, thanks.
redub should display usage via
redub -h|--help
.