Skip to content

Commit 22a08a0

Browse files
committed
Update: Don't combine builds on update if fast is specified
1 parent af16d9c commit 22a08a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/redub/extensions/update.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ int updateMain(string[] args)
9797
if(update.fast)
9898
bt = BuildType.debug_;
9999

100-
ProjectDetails d = redub.api.resolveDependencies(false, os, CompilationDetails(compilerOrPath: update.compiler, combinedBuild:true), ProjectToParse(update.dev ? "cli-dev" : null, redubPath), InitialDubVariables.init, bt);
100+
ProjectDetails d = redub.api.resolveDependencies(false, os, CompilationDetails(compilerOrPath: update.compiler, combinedBuild:!update.fast), ProjectToParse(update.dev ? "cli-dev" : null, redubPath), InitialDubVariables.init, bt);
101101
enforce(d.tree.name == "redub", "Redub update should only be used to update redub.");
102102
d.tree.requirements.cfg.outputDirectory = buildNormalizedPath(tempDir, "redub_build");
103103
d = buildProject(d);

0 commit comments

Comments
 (0)