diff options
author | David Walter Seikel | 2014-04-22 15:13:38 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-22 15:13:38 +1000 |
commit | dd009ccdfd62f9153dbc72f5f5de5d5f72979690 (patch) | |
tree | 50d62438c6d47dccf82f440986919b1ed3edbbd9 /src/LuaSL/test.sh | |
parent | Move most of the README's and other docs into the new docs directory. (diff) | |
download | SledjHamr-dd009ccdfd62f9153dbc72f5f5de5d5f72979690.zip SledjHamr-dd009ccdfd62f9153dbc72f5f5de5d5f72979690.tar.gz SledjHamr-dd009ccdfd62f9153dbc72f5f5de5d5f72979690.tar.bz2 SledjHamr-dd009ccdfd62f9153dbc72f5f5de5d5f72979690.tar.xz |
Move all source into the new src directory, and shuffle a few other things around.
Diffstat (limited to 'src/LuaSL/test.sh')
-rwxr-xr-x | src/LuaSL/test.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/LuaSL/test.sh b/src/LuaSL/test.sh new file mode 100755 index 0000000..1c26ade --- /dev/null +++ b/src/LuaSL/test.sh | |||
@@ -0,0 +1,27 @@ | |||
1 | #! /bin/bash | ||
2 | |||
3 | wd=$(pwd) | ||
4 | |||
5 | # Kill any left overs. | ||
6 | killall -KILL LuaSL | ||
7 | export LUA_PATH="$wd/../../libraries/?.lua" | ||
8 | |||
9 | case $@ in | ||
10 | |||
11 | ddd) | ||
12 | ddd ../../LuaSL | ||
13 | ;; | ||
14 | |||
15 | gdb) | ||
16 | gdb ../../LuaSL | ||
17 | ;; | ||
18 | |||
19 | *) | ||
20 | echo "_______________ STARTING LuaSL _______________" | ||
21 | ../../LuaSL & | ||
22 | sleep 1 | ||
23 | echo "_______________ STARTING LuaSL_test _______________" | ||
24 | ./LuaSL_test | ||
25 | ;; | ||
26 | |||
27 | esac | ||