You've already forked lazarus-ccr
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2393 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
33
components/tdi/Make_lrs.bat
Normal file
33
components/tdi/Make_lrs.bat
Normal file
@ -0,0 +1,33 @@
|
||||
@ECHO OFF
|
||||
@ECHO OFF
|
||||
|
||||
if "%1" == "" goto param_default
|
||||
|
||||
if NOT EXIST %1\lazarus.exe goto error_param
|
||||
|
||||
if NOT EXIST %1\tools\lazres.exe GOTO error_lazres
|
||||
|
||||
del tdi.lrs
|
||||
%1\tools\lazres.exe tdi.lrs ttdinotebook.png
|
||||
|
||||
GOTO end
|
||||
|
||||
:param_default
|
||||
Make_lrs.bat c:\lazarus
|
||||
goto :end
|
||||
|
||||
:error_param
|
||||
ECHO "Please Inform Lazarus folder. For instance:"
|
||||
echo.
|
||||
ECHO "Make_lrs.bat c:\lazarus"
|
||||
goto :end
|
||||
|
||||
:error_lazres
|
||||
ECHO "Arquivo:"
|
||||
echo %1\tools\lazres.exe
|
||||
ECHO "was not found... Please compile the project \lazarus\tools\lazres.lpi"
|
||||
goto end
|
||||
|
||||
:end
|
||||
echo "Press ENTER to leave" .
|
||||
pause
|
Reference in New Issue
Block a user