diff options
| author | Brian Ford | 2013-11-22 16:41:17 -0800 |
|---|---|---|
| committer | Brian Ford | 2013-11-25 13:09:50 -0800 |
| commit | 3fcd228441a70bd69090aa6d5c01ad194a4dd10c (patch) | |
| tree | 61668f44884f44c865ececd1bfee5fabf82dab4c /scripts/bower/init.sh | |
| parent | 8383ecfcdfae662e0f3269d333538a55540d9270 (diff) | |
| download | angular.js-3fcd228441a70bd69090aa6d5c01ad194a4dd10c.tar.bz2 | |
chore: add script for updating bower repos
Diffstat (limited to 'scripts/bower/init.sh')
| -rwxr-xr-x | scripts/bower/init.sh | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/scripts/bower/init.sh b/scripts/bower/init.sh new file mode 100755 index 00000000..74f310b0 --- /dev/null +++ b/scripts/bower/init.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +# +# init all of the bower repos +# + +set -e # fail if any command fails + +REPOS=( + angular \ + angular-animate \ + angular-cookies \ + angular-i18n \ + angular-loader \ + angular-mocks \ + angular-route \ + angular-resource \ + angular-sanitize \ + angular-scenario \ + angular-touch \ +) + +cd `dirname $0` + +for repo in "${REPOS[@]}" +do + git clone git@github.com:angular/bower-$repo.git +done |
