diff options
author | David Walter Seikel | 2014-04-21 17:53:25 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-21 17:53:25 +1000 |
commit | e9447ecc19114cee9550c7aaea89a4d3de3cfa3f (patch) | |
tree | 8f99cefa904c2ee80ac83abea394a54cf51bea0b /Runnr | |
parent | Added LumbrJack (logging) and Runnr (Lua function / script runner). (diff) | |
download | SledjHamr-e9447ecc19114cee9550c7aaea89a4d3de3cfa3f.zip SledjHamr-e9447ecc19114cee9550c7aaea89a4d3de3cfa3f.tar.gz SledjHamr-e9447ecc19114cee9550c7aaea89a4d3de3cfa3f.tar.bz2 SledjHamr-e9447ecc19114cee9550c7aaea89a4d3de3cfa3f.tar.xz |
Move LumbrJack and Runnr to the libraries directory, and use them from GuiLua.
Diffstat (limited to '')
-rw-r--r-- | Runnr/README | 1 | ||||
-rwxr-xr-x | Runnr/build.lua | 21 | ||||
-rw-r--r-- | libraries/Runnr.c (renamed from Runnr/Runnr.c) | 0 | ||||
-rw-r--r-- | libraries/Runnr.h (renamed from Runnr/Runnr.h) | 0 |
4 files changed, 0 insertions, 22 deletions
diff --git a/Runnr/README b/Runnr/README deleted file mode 100644 index 65ddc0b..0000000 --- a/Runnr/README +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | A library for running Lua scripts. Named (sorta) after a friend of mine. | ||
diff --git a/Runnr/build.lua b/Runnr/build.lua deleted file mode 100755 index 4384376..0000000 --- a/Runnr/build.lua +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | #!/usr/bin/env lua | ||
2 | |||
3 | local dir = ... | ||
4 | |||
5 | if 'nil' == type(dir) then | ||
6 | local build, err = loadfile('../build.lua') | ||
7 | if build then | ||
8 | setfenv(build, getfenv(2)) | ||
9 | build('') | ||
10 | else | ||
11 | print("ERROR - " .. err) | ||
12 | end | ||
13 | dir = workingDir | ||
14 | end | ||
15 | |||
16 | LDFLAGS = '-L ' .. dir .. ' ' .. LDFLAGS | ||
17 | |||
18 | removeFiles(dir, {'Runnr.o', 'libRunnr.so'}) | ||
19 | |||
20 | runCommand('C libraries', dir, 'gcc ' .. CFLAGS .. ' -fPIC -c Runnr.c') | ||
21 | runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libRunnr.so -o libRunnr.so Runnr.o') | ||
diff --git a/Runnr/Runnr.c b/libraries/Runnr.c index a24e7f5..a24e7f5 100644 --- a/Runnr/Runnr.c +++ b/libraries/Runnr.c | |||
diff --git a/Runnr/Runnr.h b/libraries/Runnr.h index dc720ff..dc720ff 100644 --- a/Runnr/Runnr.h +++ b/libraries/Runnr.h | |||