2017-06-07 16:54:41 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-06-12 18:45:55 +00:00
|
|
|
set -e
|
|
|
|
set -u
|
|
|
|
|
2017-07-13 18:39:38 +00:00
|
|
|
pushd $(dirname ${0})/packages/assets
|
2017-02-23 01:48:34 +00:00
|
|
|
|
2017-06-12 18:45:55 +00:00
|
|
|
OAUTH3_GIT_URL="https://git.daplie.com/Oauth3/oauth3.js.git"
|
|
|
|
git clone ${OAUTH3_GIT_URL} org.oauth3 || true
|
2017-02-23 01:48:34 +00:00
|
|
|
pushd org.oauth3
|
2017-06-12 18:45:55 +00:00
|
|
|
git remote set-url origin ${OAUTH3_GIT_URL}
|
2017-02-23 01:48:34 +00:00
|
|
|
git checkout master
|
|
|
|
git pull
|
|
|
|
popd
|
|
|
|
|
|
|
|
mkdir -p com.jquery
|
|
|
|
pushd com.jquery
|
2017-09-04 18:42:22 +00:00
|
|
|
curl -o jquery-3.1.1.js 'https://code.jquery.com/jquery-3.1.1.js'
|
2017-02-23 01:48:34 +00:00
|
|
|
popd
|
|
|
|
|
|
|
|
mkdir -p com.google
|
|
|
|
pushd com.google
|
2017-09-04 18:42:22 +00:00
|
|
|
curl -o angular.1.6.2.min.js 'https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.min.js'
|
2017-02-23 01:48:34 +00:00
|
|
|
popd
|
|
|
|
|
|
|
|
mkdir -p well-known
|
|
|
|
pushd well-known
|
2017-05-01 23:52:22 +00:00
|
|
|
ln -snf ../org.oauth3/well-known/oauth3 ./oauth3
|
2017-02-23 01:48:34 +00:00
|
|
|
popd
|
2017-07-07 22:45:45 +00:00
|
|
|
|
|
|
|
popd
|