-rem @echo off\r
+@echo off\r
+\r
+pagegen.py\r
mkdir compiled\r
del /q compiled\*.js\r
\r
cd js\r
-copy version.js + jslib.js + irc\ircconnection.js + irc\irclib.js + irc\baseirc.js + irc\irctracker.js + irc\commandparser.js + irc\ircclient.js + ui\baseui.js + ui\colour.js + ui\theme.js ..\compiled\qwebirc-concat.js /b\r
-copy ui\swmlayout.js + ui\swmui.js ..\compiled\swmui-concat.js /b\r
+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\commands.js + irc\ircclient.js + ui\baseui.js + ui\baseuiwindow.js + ui\colour.js + ui\url.js + ui\theme.js + ui\panes\connect.js + ui\panes\embed.js + qwebircinterface.js + irc\commandhistory.js + ui\hilightcontroller.js + ui\menuitems.js + ui\tabcompleter.js + ui\panes\options.js + ui\panes\about.js + auth.js + sound.js + ui\panes\privacypolicy.js + ui\panes\feedback.js ..\compiled\qwebirc-concat.js /b\r
+copy ui\frontends\swmui.js + ui\frontends\swmlayout.js ..\compiled\swmui-concat.js /b\r
cd ..\compiled\r
\r
+java -jar ..\bin\yuicompressor-2.3.5.jar ..\static\js\mochaui\mocha.js > mocha-compressed.js\r
+if not %errorlevel% == 0 goto error\r
+\r
java -jar ..\bin\yuicompressor-2.3.5.jar qwebirc-concat.js > qwebirc-compiled.js\r
if not %errorlevel% == 0 goto error\r
\r
-java -jar ..\bin\yuicompressor-2.3.5.jar ..\js\ui\uglyui.js > uglyui-compiled.js\r
+java -jar ..\bin\yuicompressor-2.3.5.jar ..\js\ui\frontends\uglyui.js > uglyui-compiled.js\r
if not %errorlevel% == 0 goto error\r
\r
java -jar ..\bin\yuicompressor-2.3.5.jar swmui-concat.js > swmui-compiled.js\r
if not %errorlevel% == 0 goto error\r
-goto ok\r
\r
+java -jar ..\bin\yuicompressor-2.3.5.jar ..\js\ui\frontends\mochaui.js > mochaui-compiled.js\r
+if not %errorlevel% == 0 goto error\r
+\r
+java -jar ..\bin\yuicompressor-2.3.5.jar ..\js\ui\frontends\qui.js > qui-compiled.js\r
+if not %errorlevel% == 0 goto error\r
+\r
+goto ok\r
:error\r
cd ..\r
del /q compiled\*-compiled.js\r
\r
:ok\r
cd ..\r
+copy compiled\mocha-compressed.js /b static\js\mochaui\mocha-compressed.js\r
+\r
copy js\copyright.js + compiled\qwebirc-compiled.js /b static\js\qwebirc.js\r
copy js\copyright.js + compiled\uglyui-compiled.js /b static\js\uglyui.js\r
copy js\copyright.js + compiled\swmui-compiled.js /b static\js\swmui.js\r
+copy js\copyright.js + compiled\mochaui-compiled.js /b static\js\mochaui.js\r
+copy js\copyright.js + compiled\qui-compiled.js /b static\js\qui.js\r
del /q compiled\*.js\r
rmdir compiled\r
\r