Talk:Windows build script

From MozillaZine Knowledge Base
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

works not for me on win2k pro sp4.

here is my version (changes ar bold):

Call :FOLDER "%CD%"

md build\chrome
cd chrome
7z a -tzip "%x%.jar" * -r -mx=9
move /Y "%x%.jar" ..\build\chrome
cd ..
copy install.* build
cd build
7z a -tzip "%x%.xpi" * -r -mx=9
move %x%.xpi ..
cd ..
rd build /s/q
GoTo :EOF

:FOLDER
Set x=%~n1
GoTo :EOF

hope, it helps, raik