diff options
Diffstat (limited to 'build.lua')
-rwxr-xr-x | build.lua | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |
32 | end | 32 | end |
33 | 33 | ||
34 | cloneHG = function (name, dir, repo, branch) | ||
35 | runCommand(nil, dir, 'rm -rf ' .. name) | ||
36 | runCommand(nil, dir, 'hg clone http://' .. repo .. ' ' .. name) | ||
37 | end | ||
38 | |||
34 | compileFiles = function (name, dir, files, extras) | 39 | compileFiles = function (name, dir, files, extras) |
35 | local objects = '' | 40 | local objects = '' |
36 | print('\n' .. name) | 41 | print('\n' .. name) |