2017-06-07 16:54:41 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-06-12 18:45:55 +00:00
|
|
|
set -e
|
|
|
|
set -u
|
|
|
|
|
2017-07-07 22:45:45 +00:00
|
|
|
pushd $(cd $(dirname ${0}) && pwd)/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
|
|
|
|
wget 'https://code.jquery.com/jquery-3.1.1.js' -O jquery-3.1.1.js
|
|
|
|
popd
|
|
|
|
|
|
|
|
mkdir -p com.google
|
|
|
|
pushd com.google
|
|
|
|
wget 'https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.min.js' -O angular.1.6.2.min.js
|
|
|
|
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
|