Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clarify build.d documentation #2925

Merged
merged 1 commit into from
Jun 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading