mirror of https://gitlab.com/basile.b/dexed.git
fix #67 - DUB fetch from online package - setting dudCompiler is ignored
This commit is contained in:
parent
3ed5aa4de8
commit
27b67c15cd
|
@ -95,13 +95,12 @@ type
|
|||
function getDubCompiler: TCECompiler;
|
||||
procedure setDubCompiler(value: TCECompiler);
|
||||
|
||||
implementation
|
||||
|
||||
var
|
||||
|
||||
DubCompiler: TCECompiler = dmd;
|
||||
DubCompilerFilename: string = 'dmd';
|
||||
|
||||
implementation
|
||||
|
||||
const
|
||||
|
||||
DubBuiltTypeName: array[TDubBuildType] of string = ('plain', 'debug', 'release',
|
||||
|
|
|
@ -393,6 +393,7 @@ begin
|
|||
dub.Parameters.Add('build');
|
||||
dub.Parameters.Add('--build=release');
|
||||
dub.Parameters.Add('--force');
|
||||
dub.Parameters.Add('--compiler=' + DubCompilerFilename);
|
||||
dub.CurrentDirectory:= pth;
|
||||
dub.Execute;
|
||||
while dub.Running do sleep(10);
|
||||
|
|
Loading…
Reference in New Issue