mirror of https://github.com/buggins/dlangide.git
Adjusting builder to run tests on libraries configurations
This commit is contained in:
parent
fa94e9bbf9
commit
f2aa2d5426
|
@ -64,7 +64,11 @@ class Builder : BackgroundOperationWatcher {
|
||||||
} else if (_buildOp == BuildOperation.Clean) {
|
} else if (_buildOp == BuildOperation.Clean) {
|
||||||
params ~= "clean".dup;
|
params ~= "clean".dup;
|
||||||
} else if (_buildOp == BuildOperation.Run) {
|
} else if (_buildOp == BuildOperation.Run) {
|
||||||
|
if (_projectConfig.type == ProjectConfiguration.Type.Library) {
|
||||||
|
params ~= "test".dup;
|
||||||
|
} else {
|
||||||
params ~= "run".dup;
|
params ~= "run".dup;
|
||||||
|
}
|
||||||
} else if (_buildOp == BuildOperation.Upgrade) {
|
} else if (_buildOp == BuildOperation.Upgrade) {
|
||||||
params ~= "upgrade".dup;
|
params ~= "upgrade".dup;
|
||||||
params ~= "--force-remove".dup;
|
params ~= "--force-remove".dup;
|
||||||
|
|
Loading…
Reference in New Issue