Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-01

[script] Fpc+lazarus: SVNdownload + compile

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Kjow

Hi all,

as I wrote in other emails these days, I made a simple script that update fpc and lazarus svn from each trunk and compile everything, I launch it at start of my pc, so everyday (and everytime I want in the day) I have all things updated.

I want to share it with you this; it is just for those who need it (I know that most of all don't have necessity of my words) :)

I used TorsoiseSVN and I put sources in:

C:\Develop\fpc\2.5.1\source\
C:\Develop\Lazarus\

First setup/compile here:
http://lists.lazarus.freepascal.org/pipermail/lazarus/2010-January/048231.html http://lists.lazarus.freepascal.org/pipermail/lazarus/2010-January/048232.html

In "C:\Develop\" I create an "update.bat" file with this script inside:

"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:update /path:"C:\Develop\fpc\2.5.1\source\" /notempfile /closeonend:1 "C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:update /path:"C:\Develop\Lazarus\" /notempfile /closeonend:1 cd C:\Develop\fpc\2.5.1\source\
make clean all
make install PREFIX=C:\Develop\fpc\2.5.1\
cd C:\Develop\Lazarus
make clean all
lazbuild --build-all --build-ide=
strip --strip-all lazarus.exe
strip --strip-all lazarus.new.exe
strip --strip-all lazbuild.exe
strip --strip-all startlazarus.exe
pause
exit

Regards,
Kjow

Reply by email