forked from coolaj86/goldilocks.js
32 lines
621 B
Bash
Executable File
32 lines
621 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -u
|
|
|
|
pushd $(dirname ${0})/packages/assets
|
|
|
|
OAUTH3_GIT_URL="https://git.daplie.com/Oauth3/oauth3.js.git"
|
|
git clone ${OAUTH3_GIT_URL} org.oauth3 || true
|
|
pushd org.oauth3
|
|
git remote set-url origin ${OAUTH3_GIT_URL}
|
|
git checkout master
|
|
git pull
|
|
popd
|
|
|
|
mkdir -p com.jquery
|
|
pushd com.jquery
|
|
curl -o jquery-3.1.1.js 'https://code.jquery.com/jquery-3.1.1.js'
|
|
popd
|
|
|
|
mkdir -p com.google
|
|
pushd com.google
|
|
curl -o angular.1.6.2.min.js 'https://ajax.googleapis.com/ajax/libs/angularjs/1.6.2/angular.min.js'
|
|
popd
|
|
|
|
mkdir -p well-known
|
|
pushd well-known
|
|
ln -snf ../org.oauth3/well-known/oauth3 ./oauth3
|
|
popd
|
|
|
|
popd
|