File tree 3 files changed +11
-13
lines changed
3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- source settings.sh
4
-
5
3
# Get latest git submodules
6
4
git submodule init
7
5
git submodule update
@@ -14,15 +12,17 @@ rm -rf build
14
12
mkdir build
15
13
cd build
16
14
17
- # Delete old game directory at %HOME /tsc
18
- rm -rf ~ /tsc
15
+ # Delete old game directory at that is at repos/Secretchronicles/TSC/tsc /tsc
16
+ rm -rf .. /tsc
19
17
20
18
# Build TSC
21
- cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$TSCGAMEDIR ..
19
+ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../tsc ..
22
20
make
23
21
24
22
# Install TSC to $HOME/tsc
25
23
make install
26
24
27
- # Changing to game directory
28
- cd $TSCGAMEDIR
25
+ # Changing back to TSC repo directory
26
+ cd ../..
27
+
28
+ echo " You can now run TSC with ./run-tsc.sh"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- source settings.sh
4
-
5
3
# Changing to game directory
6
- cd $TSCGAMEDIR
4
+ cd tsc/tsc
7
5
8
6
# Start Game
9
7
./bin/tsc
8
+
9
+ # Come back to original directory
10
+ cd ../..
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments