File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ set -e
2+
3+ make=$( which make)
4+
5+ stack=$( which stack)
6+
7+ git=$( which git)
8+
9+ if [ -z $make ]; then
10+ echo " Please install GNU Make to run the installer"
11+ exit 1
12+ fi
13+
14+ if [ -z $stack ]; then
15+ echo " Please install the stack build system for Haskell to run the installer"
16+ exit 1
17+ fi
18+
19+ if [ -z $git ]; then
20+ echo " You must have git installed"
21+ exit 1
22+ fi
23+
24+ echo " Using Git at $git "
25+ echo " Using Stack at $stack "
26+ echo " Using Make at $make "
27+
28+ rm -rf /tmp/glados
29+
30+ $git clone " https://github.com/TopineurInc/Glados.git" /tmp/glados
31+
32+ make -C /tmp/glados
33+
34+ printf " \nYou may enter your password to run the following command and add the glados to your path."
35+ echo " sudo mv /tmp/glados/glados /usr/local/bin"
36+ sudo mv /tmp/glados/glados /usr/local/bin
37+
38+ rm -rf /tmp/glados
You can’t perform that action at this time.
0 commit comments