forked from jasonrohrer/OneLife
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpullAndBuildTestSystem.sh
More file actions
executable file
·72 lines (47 loc) · 1.31 KB
/
Copy pathpullAndBuildTestSystem.sh
File metadata and controls
executable file
·72 lines (47 loc) · 1.31 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/bin/sh
if [ ! -e minorGems ]
then
git clone https://github.com/jasonrohrer/minorGems.git
fi
if [ ! -e OneLife ]
then
git clone https://github.com/jasonrohrer/OneLife.git
fi
if [ ! -e OneLifeData7 ]
then
git clone https://github.com/jasonrohrer/OneLifeData7.git
fi
cd minorGems
git pull --tags
cd ../OneLife
git pull --tags
cd ../OneLifeData7
git pull --tags
rm */cache.fcz
cd ../OneLife
./configure 1
cd gameSource
make
echo 1 > settings/useCustomServer.ini
sh ./makeEditor.sh
ln -s ../../OneLifeData7/animations .
ln -s ../../OneLifeData7/categories .
ln -s ../../OneLifeData7/ground .
ln -s ../../OneLifeData7/music .
ln -s ../../OneLifeData7/objects .
ln -s ../../OneLifeData7/overlays .
ln -s ../../OneLifeData7/scenes .
ln -s ../../OneLifeData7/sounds .
ln -s ../../OneLifeData7/sprites .
ln -s ../../OneLifeData7/transitions .
ln -s ../../OneLifeData7/dataVersionNumber.txt .
cd ../server
./configure 1
make
ln -s ../../OneLifeData7/categories .
ln -s ../../OneLifeData7/objects .
ln -s ../../OneLifeData7/transitions .
ln -s ../../OneLifeData7/dataVersionNumber.txt .
git for-each-ref --sort=-creatordate --format '%(refname:short)' --count=1 refs/tags/OneLife_v* | sed -e 's/OneLife_v//' > serverCodeVersionNumber.txt
echo 0 > settings/requireTicketServerCheck.ini
echo 1 > settings/forceEveLocation.ini