Add scripts to update js libraries from upstream

Change-Id: Ie2c7727afc5bd7c7d0ab44b50070e6ea49ee6e96
This commit is contained in:
Santhosh Thottingal
2013-11-25 10:30:04 +05:30
parent 85e6be917f
commit eb7cb4ecd5
4 changed files with 43 additions and 0 deletions

10
scripts/update-jquery-i18n.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
DEST="../lib/jquery.i18n";
CLONEDIR="/tmp/jquery.i18n";
HERE=`pwd`;
UPSTREAM="https://github.com/wikimedia/jquery.i18n.git";
echo -e "Getting latest jquery.i18n from $UPSTREAM\n";
if cd $CLONEDIR; then git pull; else git clone $UPSTREAM $CLONEDIR; fi
cd $HERE;
cp -rf $CLONEDIR/src/* $DEST