webogram-i2p/update-angular.sh
Igor Zhukov bfc8ffd6ec Performance improvements
Updated some watch expressions
Upgrade AngularJS to 1.3.0-rc.0
2014-09-10 22:22:47 +04:00

12 lines
315 B
Bash
Executable File

#! /bin/sh
if [ -n "$1" ]; then
mkdir tmp
curl http://code.angularjs.org/$1/angular-$1.zip -L -o tmp/angular.zip
rm -fr app/vendor/angular
unzip tmp/angular.zip -d app/vendor
mv app/vendor/angular-$1 app/vendor/angular
rm -fr app/vendor/angular/docs tmp
else
echo "Usage: update-angular <version>"
fi