You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tt-rss/lib/dojo-src/rebuild-dojo.sh

25 lines
774 B
Bash

#!/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.6.1 releaseName=
popd
if [ -d release/dojo ]; then
rm -rf ../dojo ../dijit
cp -r release/dojo ..
cp -r release/dijit ..
else
echo $0: ERROR: Dojo build seems to have failed.
fi
else
echo $0: ERROR: Please unpack Dojo source release into current directory.
fi