fix #131 - case where target application not runnable after building a DUB project

This commit is contained in:
Basile Burg 2017-03-29 17:24:25 +02:00
parent f229a4dab6
commit f1a05d7dd7
No known key found for this signature in database
GPG Key ID: 1868039F415CB8CF
1 changed files with 7 additions and 2 deletions

View File

@ -930,8 +930,13 @@ begin
or (src = 'src' + DirectorySeparator + fPackageName + DirectorySeparator + 'app.d')
or (src = 'source' + DirectorySeparator + fPackageName + DirectorySeparator + 'main.d')
or (src = 'src' + DirectorySeparator + fPackageName + DirectorySeparator + 'main.d')
then fBinKind:= executable
else fBinKind:= staticlib;
then
begin
fBinKind:= executable;
break;
end
else
fBinKind:= staticlib;
end;
end;
end;