mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 16:38:17 +02:00
Opkman: Rebuild IDE when needed.
git-svn-id: trunk@60354 -
This commit is contained in:
parent
b96d9feffb
commit
0a38c2bc83
@ -247,12 +247,12 @@ begin
|
||||
if CanGo then
|
||||
begin
|
||||
Inc(FCnt);
|
||||
if not FNeedToRebuild then
|
||||
FNeedToRebuild := LazarusPkg.PackageType in [lptRunAndDesignTime, lptDesigntime];
|
||||
DoOnPackageInstallProgress(imOpenPackage, LazarusPkg);
|
||||
IDEPackage := OpenPackage(LazarusPkg.PackageAbsolutePath);
|
||||
if IDEPackage <> nil then
|
||||
begin
|
||||
if not FNeedToRebuild then
|
||||
FNeedToRebuild := IDEPackage.PackageType in [lptRunAndDesignTime, lptDesigntime];
|
||||
DoOnPackageInstallProgress(imOpenPackageSuccess, LazarusPkg);
|
||||
CompRes := CompilePackage(IDEPAckage, LazarusPkg);
|
||||
case CompRes of
|
||||
|
Loading…
Reference in New Issue
Block a user