-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathinstall-core.sh
executable file
·47 lines (40 loc) · 1.17 KB
/
install-core.sh
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env bash
##################################
# Core CAPI workspace installation
#
# The current goals listed in README.md are stale. This script aims
# to represent the most minimal, objective representation of what it
# means to develop on CAPI projects.
#
# Ultimately, this means stripping away a lot of excess configuration
# and utilities.
##################################
: "${FULL_CAPI_INSTALL:=false}"
if [ "$(uname)" = "Darwin" ]; then
IS_OSX=true
else
IS_OSX=false
./install-scripts/ubuntu.sh
fi
# install brew and its packages
source ./install-scripts/brew.sh
if [ "$IS_OSX" = true ]; then
source ./install-scripts/xcode.sh
else
echo "Skipping Xcode installation for non OSX install"
fi
source ./install-scripts/brew-bundle.sh
# ruby setup
echo "Installing ruby"
source ./install-scripts/ruby.sh
source ./install-scripts/bundler.sh
echo "Installing databases"
# daemons to launch databases at startup
source ./install-scripts/mysql.sh
source ./install-scripts/postgres.sh
# Golang setup
source ./install-scripts/go.sh
# Depends on existence of GOPATH, created earlier on
source ./install-scripts/clone-repos.sh
# Concourse "fly"
source ./install-scripts/fly.sh