Provided by: dub_1.27.0-3_amd64 bug


       dub - Package and build management system for D


       dub build [<package>[@<version-spec>]] OPTIONS...


       Builds a package (uses the main package in the current working directory by default)


       --rdmd Use rdmd instead of directly invoking the compiler

       -f,    Forces a recompilation even if the target is up to date

       -y,    Automatic yes to prompts. Assume "yes" as answer to all interactive prompts.

       -n,    Don't enter interactive mode.

       -b,    Specifies  the  type  of build to perform. Note that setting the DFLAGS environment
              variable will override the build type with custom flags.  Possible names:
                debug  (default),  plain,  release,  release-debug,  release-nobounds,  unittest,
              profile, profile-gc, docs, ddox, cov, unittest-cov, syntax and custom types

       -c,    Builds the specified configuration. Configurations can be defined in dub.json

              Uses  the  specified  configuration  for  a  certain  dependency.  Can be specified
              multiple times.  Format: --override-config=<dependency>/<config>

              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

       -a,    Force a different architecture (e.g. x86 or x86_64)

       -d,    Define the specified debug version identifier when building - can be used  multiple

              Do not resolve missing dependencies before building

              Specifies the way the compiler and linker are invoked. Valid values:
                separate (default), allAtOnce, singleFile

              Treats  the  package  name  as  a  filename. The file must contain a package recipe

              Deprecated option that does nothing.

              [Experimental] Filter version identifiers and debug version identifiers to  improve
              build cache efficiency.

              Tries to build the whole project in a single compiler run.

              Prints the list of available build types

              Prints the list of available configurations

              Prints  the identifiers for the current build platform as used for the build fields
              in dub.json

              Runs multiple compiler instances in parallel, if possible.


       dub.sdl, dub.json


       Copyright (c) 1999-2022 by The D Language Foundation



       dmd(1), dub(1)