mkanat%bugzilla.org 41e31c6183 Bug 572949: Update YUI to 2.8.1
r=glob, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260490 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-18 08:17:38 +00:00

17 lines
519 B
Bash
Executable File

#!/bin/sh
#
# Updates the version of YUI used by Bugzilla. Just pass the path to
# an unzipped yui release directory, like:
#
# contrib/new-yui.sh /path/to/yui-2.8.1/
#
rsync -av --delete $1/build/ js/yui/
cd js/yui
rm -rf editor/ yuiloader-dom-event/
find -name '*.js' -not -name '*-min.js' -not -name '*-dom-event.js' \
-exec rm -f {} \;
find -name '*-skin.css' -exec rm -f {} \;
find -depth -path '*/assets' -not -path './assets' -exec rm -rf {} \;
rm assets/skins/sam/sprite.psd
rm assets/skins/sam/skin.css