mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 15:49:26 +02:00
* stop when fpmake fails
git-svn-id: trunk@9355 -
This commit is contained in:
parent
cc014d6a65
commit
f3b26a94fe
@ -304,7 +304,7 @@ begin
|
||||
except
|
||||
On E : Exception do
|
||||
begin
|
||||
Writeln(StdErr,SErrRunning);
|
||||
Writeln(StdErr,SErrException);
|
||||
Writeln(StdErr,E.Message);
|
||||
Halt(1);
|
||||
end;
|
||||
|
@ -249,7 +249,8 @@ begin
|
||||
FPMakeBin:='fpmake'+ExeExt;
|
||||
SetCurrentDir(PackageBuildPath);
|
||||
Result:=ExecuteProcess(FPMakeBin,Command+OOptions);
|
||||
|
||||
if Result<>0 then
|
||||
Error(SErrExecutionFPMake,[Command]);
|
||||
end;
|
||||
|
||||
|
||||
|
@ -22,7 +22,8 @@ Resourcestring
|
||||
SErrNoPackageSpecified = 'No package specified';
|
||||
SErrNoPackageAvailable = 'Package %s %s is not available';
|
||||
SErrOnlyLocalDir = 'The speficied command "%s" works only on current dir, not on a (remote) package';
|
||||
SErrRunning = 'The FPC make tool encountered the following error:';
|
||||
SErrExecutionFPMake = 'Execution of FPMake %s failed';
|
||||
SErrException = 'The FPC Package tool encountered the following error:';
|
||||
SErrActionAlreadyRegistered= 'Action "%s" is already registered';
|
||||
SErrActionNotFound = 'Action "%s" is not supported';
|
||||
SErrFailedToCompileFPCMake = 'Could not compile fpmake driver program';
|
||||
|
Loading…
Reference in New Issue
Block a user