aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build.lua
diff options
context:
space:
mode:
Diffstat (limited to 'build.lua')
-rwxr-xr-xbuild.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.lua b/build.lua
index 5661025..115c791 100755
--- a/build.lua
+++ b/build.lua
@@ -26,6 +26,11 @@ runCommand = function (name, dir, command)
26 os.execute('cd ' .. dir .. '; ' .. command) 26 os.execute('cd ' .. dir .. '; ' .. command)
27end 27end
28 28
29cloneGit = function (name, dir, repo, branch)
30 runCommand(nil, dir, 'rm -rf ' .. name)
31 runCommand(nil, dir, 'git clone git://' .. repo .. '/' .. name)
32end
33
29compileFiles = function (name, dir, files, extras) 34compileFiles = function (name, dir, files, extras)
30 local objects = '' 35 local objects = ''
31 print('\n' .. name) 36 print('\n' .. name)