diff options
author | David Walter Seikel | 2016-01-02 23:59:50 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-01-02 23:59:50 +1000 |
commit | 57a36a84c91d3d69550c57e3de4decc2c7a6e427 (patch) | |
tree | bc7fb1c233876e342e72db303db882fb0367f065 | |
parent | Documentation about how we could interact with web browsers. (diff) | |
download | SledjHamr-57a36a84c91d3d69550c57e3de4decc2c7a6e427.zip SledjHamr-57a36a84c91d3d69550c57e3de4decc2c7a6e427.tar.gz SledjHamr-57a36a84c91d3d69550c57e3de4decc2c7a6e427.tar.bz2 SledjHamr-57a36a84c91d3d69550c57e3de4decc2c7a6e427.tar.xz |
Rejig the build, test, and kill scripts a little bit.
-rwxr-xr-x | build.lua | 3 | ||||
-rwxr-xr-x | killem.sh | 1 | ||||
-rwxr-xr-x | test.sh | 7 |
3 files changed, 9 insertions, 2 deletions
@@ -70,6 +70,9 @@ locale_d = baseDir .. '/locale' | |||
70 | -- On the other hand, there's a more direct way to get to environment variables, it would fail to. | 70 | -- On the other hand, there's a more direct way to get to environment variables, it would fail to. |
71 | CFLAGOPTS = readCommand('echo "$CFLAGOPTS"') | 71 | CFLAGOPTS = readCommand('echo "$CFLAGOPTS"') |
72 | 72 | ||
73 | -- Make sure any old servers are killed off. | ||
74 | os.execute('./killem.sh') | ||
75 | |||
73 | CFLAGS = '-g -Wall -I ' .. baseDir .. '/src/libraries' | 76 | CFLAGS = '-g -Wall -I ' .. baseDir .. '/src/libraries' |
74 | CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'luajit') | 77 | CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'luajit') |
75 | CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'elementary') | 78 | CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'elementary') |
@@ -1,5 +1,6 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | # TODO - Deal with the valgrind left overs, by scanning the output of the following lines, pciking out the PIDs, then "kill -KILL pid" | ||
3 | ps aux | grep love | 4 | ps aux | grep love |
4 | ps aux | grep LuaSL | 5 | ps aux | grep LuaSL |
5 | 6 | ||
@@ -4,11 +4,14 @@ reset | |||
4 | 4 | ||
5 | wd=$(pwd) | 5 | wd=$(pwd) |
6 | 6 | ||
7 | ./killem.sh | ||
8 | sleep 1 | ||
9 | |||
7 | ./build.lua || exit | 10 | ./build.lua || exit |
8 | 11 | ||
9 | echo "_______________ TESTING extantz, love and LuaSL _______________" | 12 | echo "_______________ TESTING extantz, love and LuaSL _______________" |
10 | ./extantz & | 13 | ./LuaSL & sleep 2 && ./love & sleep 1 && ./extantz & |
11 | sleep 1 | 14 | sleep 30 |
12 | 15 | ||
13 | echo "_______________ TESTING GuiLua _______________" | 16 | echo "_______________ TESTING GuiLua _______________" |
14 | cd $wd/src/GuiLua | 17 | cd $wd/src/GuiLua |