mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 11:49:55 +02:00
pas2js: started lpg
This commit is contained in:
parent
b9a490a3e1
commit
3d6bf3c2c1
@ -322,7 +322,7 @@ begin
|
||||
ServerPort:=StrToIntDef(aProject.CustomData[PJSProjectPort],-1);
|
||||
URL:=aProject.CustomData[PJSProjectURL];
|
||||
if (ServerPort<0) and (URL='') then
|
||||
exit;
|
||||
exit; // compile normally and run the run-parameters
|
||||
|
||||
// Run webproject with Debug: build, start webserver, open browser
|
||||
|
||||
|
@ -131,6 +131,7 @@ type
|
||||
function InteractiveForceDir(Dir: string; AutoDelete: boolean): boolean; virtual;
|
||||
function InteractiveSaveFile(aFilename: string): boolean; virtual;
|
||||
function InteractiveCopyFile(Src, Dest: string): boolean; virtual;
|
||||
function CreateProjectGroup(AProject: TLazProject): boolean; virtual;
|
||||
public
|
||||
constructor Create; override;
|
||||
procedure Clear; override;
|
||||
@ -584,6 +585,12 @@ begin
|
||||
Result:=false;
|
||||
end;
|
||||
|
||||
function TProjectPas2JSProgressiveWebApp.CreateProjectGroup(
|
||||
AProject: TLazProject): boolean;
|
||||
begin
|
||||
Result:=true;
|
||||
end;
|
||||
|
||||
constructor TProjectPas2JSProgressiveWebApp.Create;
|
||||
begin
|
||||
inherited Create;
|
||||
@ -715,6 +722,9 @@ begin
|
||||
// save lpi
|
||||
if LazarusIDE.DoSaveProject([sfQuietUnitCheck])<>mrOk then exit;
|
||||
|
||||
// project group
|
||||
if not CreateProjectGroup(AProject) then exit;
|
||||
|
||||
Result:=mrOk;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user