-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidechain.sh
More file actions
executable file
·29 lines (21 loc) · 866 Bytes
/
sidechain.sh
File metadata and controls
executable file
·29 lines (21 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/env bash
[[ "${DEBUG}" == 'true' ]] && set -o xtrace
set -o errexit
set -o pipefail
set -o noclobber
shopt -s extglob
readonly __dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
readonly __file="${__dir}/$(basename "${BASH_SOURCE[0]}")"
readonly __base="$(basename ${__file} .sh)"
readonly __root="$(cd "$(dirname "${__dir}")" && pwd)"
readonly __manifest="${__dir}/manifest.json"
readonly -a DEPENDENCIES_PROGRAMS=('postgresql postgresql-contrib libpq-dev build-essential python git curl jq libtool autoconf locales automake locate zip unzip htop nmon iftop pkg-config libcairo2-dev libgif-dev')
readonly -a DEPENDENCIES_NODEJS=('forever grunt-cli node-sass')
source "${__dir}/bootstrap/lib.sh"
source "${__dir}/bootstrap/app.sh"
main()
{
parse_args "$@"
trap cleanup SIGINT SIGTERM SIGKILL
}
[[ "$0" == "$BASH_SOURCE" ]] && main "$@"