-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.bash
executable file
·66 lines (51 loc) · 14.4 KB
/
setup.bash
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/bin/bash
# This file is generated! Edit setup-script.bash instead. See README for more details.
# http://redsymbol.net/articles/unofficial-bash-strict-mode/
set -euo pipefail
IFS=$'\n\t'
unameOut="$(uname -s)"
case "${unameOut}" in
Linux*) machine=Linux;;
Darwin*) machine=Mac;;
CYGWIN*) machine=Windows;;
MINGW*) machine=Windows;;
*) machine="UNKNOWN:${unameOut}"
esac
echo "Alloverse app setup wizard"
echo "--------------------------"
if [ -d "allo" ]; then
echo "Project already initialized; use \`./allo/assist upgrade\` to fetch latest version."
exit
fi
PROJNAME=`basename $(pwd)`
read -p "Create new project '$PROJNAME'? (Y/n) " answer
if [ "$answer" == "n" ] ; then
echo "Exiting..."
exit
fi
if [ ! -d ".git" ]; then
echo "git init'ing"
git init
fi
echo
echo "EXTRACTING template app..."
if [[ "$machine" == "Mac" ]]
then
baseargs="-D"
else
baseargs="-d"
fi
base64 $baseargs <<EOF | tar xz
H4sIAAAAAAAAA+w8a3PbtrL9rF+BYU6OqEaiJdmxE9/6dGRbSTTXlj2S09yM46OhSEhiTJEqH37U4/72u7sASJB6JDl12rlzy3ZMEdg3FrsLEIzt++HWD9/3asK1t/cS7629l039rq4fWjvb7e297d1Wa++HZqvV3Nv9gb38znLRlcaJHTH2Q8Bv7oMNcF/q/z962Tj+MY9uuLW4/048cIB3d3fWjf/O7u42jn+r3dxrb2N7q/1yb/sH1vxO8hSu/+fjP4nCOZslycIiJ4iYN1+EUcLeXVycD6mlzg7tmOPzgP+a8jh5Zweuz6OKhExmEbddL5jWWRjX2ec4DOrMju8DxwvrLE7Hiyh0eJx1JZHt8LHtXFc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q/aFjJEACgAAA=
EOF
sed -i".bak" "s#__PROJNAME__#${PROJNAME}#g" lua/main.lua
rm lua/main.lua.bak
echo
echo "FETCHING git dependencies..."
mkdir -p allo/deps
git submodule add -f https://github.com/alloverse/alloui-lua allo/deps/alloui
git submodule update --init --recursive allo/deps/alloui
git submodule add -f https://github.com/luapower/luajit.git allo/deps/luajit-bin
echo
echo "DOWNLOADING libraries using assist..."
./allo/assist upgrade