We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7c0375 commit 52e39d5Copy full SHA for 52e39d5
tools/dplug-build/source/main.d
@@ -96,6 +96,7 @@ void usage()
96
flag("--compiler-x86_64", " Force compiler for x86_64 architecture", null, "same as --compiler");
97
flag("--combined", "Combined build", null, null);
98
flag("--final", "Release. Shortcut for --combined -b release-nobounds", null, null);
99
+ flag("--profile", "Debug Info. Shortcut for --combined -b release-debug", null, null);
100
flag("-f --force", "Force rebuild", null, null);
101
flag("-q --quiet", "Quieter output", null, null);
102
flag("-v --verbose", "Verbose output", null, null);
@@ -179,7 +180,14 @@ int main(string[] args)
179
180
for (int i = 1; i < args.length; )
181
{
182
string arg = args[i];
- if (arg == "--final")
183
+ if (arg == "--profile")
184
+ {
185
+ finalFlag = true;
186
+ args = args[0..i] ~ ["--combined",
187
+ "-b",
188
+ "release-debug"] ~ args[i+1..$];
189
+ }
190
+ else if (arg == "--final")
191
192
finalFlag = true;
193
args = args[0..i] ~ ["--combined",
0 commit comments