1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 04:25:56 +00:00

build custom layer of Dojo to speed up loading of tt-rss (refs #293)

This commit is contained in:
Andrew Dolgov
2011-03-04 19:02:28 +03:00
parent cfad9259a6
commit a089699c89
144 changed files with 55627 additions and 13766 deletions

23
lib/dojo-src/rebuild-dojo.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/sh
# This script rebuilds customized layer of Dojo for tt-rss
# Place unpacked Dojo source release in this directory and run this script.
# It will automatically replace previous build of Dojo in ../dojo
# Dojo requires Java runtime to build. Further information on rebuilding Dojo
# is available here: http://dojotoolkit.org/reference-guide/build/index.html
if [ -d util/buildscripts/ ]; then
pushd util/buildscripts
./build.sh profileFile=../../profile.js action=clean,release version=1.5.0 releaseName=
popd
if [ -d release/dojo ]; then
rm -rf ../dojo
cp -r release/dojo ..
else
echo $0: ERROR: Dojo build seems to have failed.
fi
else
echo $0: ERROR: Please unpack Dojo source release into current directory.
fi