Skip to content

Commit

Permalink
clarify build.d documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jtbx authored and Geod24 committed Jun 7, 2024
1 parent b6939ea commit a913071
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.d
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
Standalone build script for DUB
This script can be called from anywhere, as it deduces absolute paths
based on the script's placement in the repository.
based on the script's location in the source tree.
Invoking it while making use of all the options would like like this:
DMD=ldmd2 DFLAGS="-O -inline" ./build.d my-dub-version
Using an environment variable for the version is also supported:
DMD=dmd DFLAGS="-w -g" GITVER="1.2.3" ./build.d
Invoking it while making use of all the options would look like this:
DMD=ldmd2 GITVER="1.2.3" ./build.d -O -inline
The GITVER environment variable determines the version of
the repository to build against.
Copyright: D Language Foundation
Authors: Mathias 'Geod24' Lang
Expand Down

0 comments on commit a913071

Please sign in to comment.