forked from coolaj86/goldilocks.js
32 lines
633 B
Bash
Executable File
32 lines
633 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -u
|
|
|
|
pushd $(cd $(dirname ${0}) && pwd)/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
|
|
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
|
|
ln -snf ../org.oauth3/well-known/oauth3 ./oauth3
|
|
popd
|
|
|
|
popd
|