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 07017dc..3c29f2a 100755
--- a/build.lua
+++ b/build.lua
@@ -31,6 +31,11 @@ cloneGit = function (name, dir, repo, branch)
31 runCommand(nil, dir, 'git clone git://' .. repo .. '/' .. name) 31 runCommand(nil, dir, 'git clone git://' .. repo .. '/' .. name)
32end 32end
33 33
34cloneHG = function (name, dir, repo, branch)
35 runCommand(nil, dir, 'rm -rf ' .. name)
36 runCommand(nil, dir, 'hg clone http://' .. repo .. ' ' .. name)
37end
38
34compileFiles = function (name, dir, files, extras) 39compileFiles = function (name, dir, files, extras)
35 local objects = '' 40 local objects = ''
36 print('\n' .. name) 41 print('\n' .. name)