]>
Commit | Line | Data |
---|---|---|
cfd8616d | 1 | @echo off\r |
ef8a4598 CP |
2 | \r |
3 | pagegen.py\r | |
8f36f657 CP |
4 | mkdir compiled\r |
5 | del /q compiled\*.js\r | |
6 | \r | |
b481a99a | 7 | cd js\r |
e1a91a8a | 8 | copy qwebirc.js + version.js + jslib.js + irc\ircconnection.js + irc\irclib.js + irc\numerics.js + irc\baseircclient.js + irc\irctracker.js + irc\commandparser.js + irc\ircclient.js + ui\baseui.js + ui\baseuiwindow.js + ui\colour.js + ui\url.js + ui\theme.js + ui\genericlogin.js + ui\embedwizard.js + qwebircinterface.js + irc\commandhistory.js + ui\hilightcontroller.js + ui\menuitems.js + ui\tabcompleter.js + ui\optionspane.js + ui\aboutpane.js + auth.js + sound.js ..\compiled\qwebirc-concat.js /b\r |
e20e5a6b | 9 | copy ui\swmui.js + ui\swmlayout.js ..\compiled\swmui-concat.js /b\r |
8f36f657 CP |
10 | cd ..\compiled\r |
11 | \r | |
08137ae6 CP |
12 | java -jar ..\bin\yuicompressor-2.3.5.jar ..\static\js\mochaui\mocha.js > mocha-compressed.js\r |
13 | if not %errorlevel% == 0 goto error\r | |
14 | \r | |
8f36f657 CP |
15 | java -jar ..\bin\yuicompressor-2.3.5.jar qwebirc-concat.js > qwebirc-compiled.js\r |
16 | if not %errorlevel% == 0 goto error\r | |
17 | \r | |
18 | java -jar ..\bin\yuicompressor-2.3.5.jar ..\js\ui\uglyui.js > uglyui-compiled.js\r | |
19 | if not %errorlevel% == 0 goto error\r | |
ecde4837 | 20 | \r |
8f36f657 CP |
21 | java -jar ..\bin\yuicompressor-2.3.5.jar swmui-concat.js > swmui-compiled.js\r |
22 | if not %errorlevel% == 0 goto error\r | |
ecde4837 | 23 | \r |
cfd8616d CP |
24 | java -jar ..\bin\yuicompressor-2.3.5.jar ..\js\ui\mochaui.js > mochaui-compiled.js\r |
25 | if not %errorlevel% == 0 goto error\r | |
26 | \r | |
f4ae92cc CP |
27 | java -jar ..\bin\yuicompressor-2.3.5.jar ..\js\ui\qui.js > qui-compiled.js\r |
28 | if not %errorlevel% == 0 goto error\r | |
29 | \r | |
cfd8616d | 30 | goto ok\r |
8f36f657 CP |
31 | :error\r |
32 | cd ..\r | |
33 | del /q compiled\*-compiled.js\r | |
ecde4837 | 34 | pause\r |
8f36f657 | 35 | goto end\r |
ecde4837 CP |
36 | \r |
37 | :ok\r | |
8f36f657 | 38 | cd ..\r |
08137ae6 CP |
39 | copy compiled\mocha-compressed.js /b static\js\mochaui\mocha-compressed.js\r |
40 | \r | |
8f36f657 CP |
41 | copy js\copyright.js + compiled\qwebirc-compiled.js /b static\js\qwebirc.js\r |
42 | copy js\copyright.js + compiled\uglyui-compiled.js /b static\js\uglyui.js\r | |
43 | copy js\copyright.js + compiled\swmui-compiled.js /b static\js\swmui.js\r | |
cfd8616d | 44 | copy js\copyright.js + compiled\mochaui-compiled.js /b static\js\mochaui.js\r |
f4ae92cc | 45 | copy js\copyright.js + compiled\qui-compiled.js /b static\js\qui.js\r |
8f36f657 CP |
46 | del /q compiled\*.js\r |
47 | rmdir compiled\r | |
48 | \r | |
ecde4837 CP |
49 | goto end\r |
50 | \r | |
51 | :end\r |