3 # This script rebuilds customized layer of Dojo for tt-rss
4 # Place unpacked Dojo source release in this directory and run this script.
5 # It will automatically replace previous build of Dojo in ../dojo
7 # Dojo requires Java runtime to build. Further information on rebuilding Dojo
8 # is available here: http://dojotoolkit.org/reference-guide/build/index.html
10 if [ -d util
/buildscripts
/ ]; then
13 pushd util
/buildscripts
14 .
/build.sh profile
=..
/..
/tt-rss action
=clean
,release optimize
=shrinksafe
17 if [ -d release
/dojo
]; then
18 rm -rf ..
/dojo ..
/dijit
19 cp -r release
/dojo
/dojo ..
20 cp -r release
/dojo
/dijit ..
24 find dojo
-name '*uncompressed*' -exec rm -- {} \
;
25 find dijit
-name '*uncompressed*' -exec rm -- {} \
;
27 echo $0: ERROR
: Dojo build seems to have failed.
30 echo $0: ERROR
: Please unpack Dojo
source release into current directory.