-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgetsprite
More file actions
48 lines (45 loc) · 1.35 KB
/
Copy pathgetsprite
File metadata and controls
48 lines (45 loc) · 1.35 KB
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
48
# Installs Sprite non-interactively.
#
# Usage:
#
# wget -qO- https://raw.githubusercontent.com/andyjost/Sprite/release/getsprite | sh
# curl -sSL https://raw.githubusercontent.com/andyjost/Sprite/release/getsprite | sh
#
# GitHub:
#
# https://github.com/andyjost/Sprite
#
# Documentation:
#
# http://web.cecs.pdx.edu/~josta/sprite/
if [ -d $HOME/Sprite ]; then
echo 1>&2 Found previous installation at $HOME/Sprite.
set -e
set -x
cd Sprite
git pull
else
set -e
set -x
cd $HOME
git clone git@github.com:andyjost/Sprite.git
cd Sprite
fi
./configure --install-prereqs --yes
make
set +x
echo
echo "********************************************************************************"
echo " Installation succeeded!"
echo "********************************************************************************"
echo
echo "Sprite is installed at $HOME/Sprite/install/bin"
echo
echo "Next steps:"
echo " - Read the documentation at http://web.cecs.pdx.edu/~josta/sprite/."
echo " - Go through the Quickstart Tutorial (in the docs)."
echo " - Explore the Python API: $HOME/Sprite/install/bin/python -ic 'import curry'"
echo " - Run the examples under '$HOME/Sprite/examples/'."
echo " - Run the test suite: make -C $HOME/Sprite test"
echo " - Install it elsewhere: make -C $HOME/Sprite install PREFIX=/path/to/dir"
echo