Initial empty browser.
This commit is contained in:
parent
6ef8875b1e
commit
a915cf2e81
25 changed files with 3770 additions and 3 deletions
28
script/bootstrap
Executable file
28
script/bootstrap
Executable file
|
@ -0,0 +1,28 @@
|
|||
#!/bin/sh
|
||||
#/ Usage: bootstrap https://base.url.com/from/libchromiumcontent/script/upload
|
||||
#/ Bootstrap this project.
|
||||
|
||||
set -e
|
||||
|
||||
usage() {
|
||||
grep '^#/' <"$0"| cut -c4-
|
||||
}
|
||||
|
||||
BASE_URL="${1}"
|
||||
|
||||
if [ -z "${BASE_URL}" ]; then
|
||||
usage
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
SOURCE_ROOT=$(pwd -P)
|
||||
VENDOR_DIR="${SOURCE_ROOT}/vendor"
|
||||
BRIGHTRAY_DIR="${VENDOR_DIR}/brightray"
|
||||
|
||||
git submodule sync --quiet
|
||||
git submodule update --init --recursive
|
||||
|
||||
"${BRIGHTRAY_DIR}/script/bootstrap" "${BASE_URL}"
|
||||
|
||||
"${SOURCE_ROOT}/script/update"
|
Loading…
Add table
Add a link
Reference in a new issue