diff options
author | David Walter Seikel | 2016-03-28 21:59:05 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-03-28 21:59:05 +1000 |
commit | 26e55ced73cb1154906f11b7d6e965cb816a09fe (patch) | |
tree | 919766d31509c4cd370179ff0ecd6bfec05f6e25 /build.lua | |
parent | The beginnings of an image map for SledjHamr, needs more docs to link to. (diff) | |
download | SledjHamr-26e55ced73cb1154906f11b7d6e965cb816a09fe.zip SledjHamr-26e55ced73cb1154906f11b7d6e965cb816a09fe.tar.gz SledjHamr-26e55ced73cb1154906f11b7d6e965cb816a09fe.tar.bz2 SledjHamr-26e55ced73cb1154906f11b7d6e965cb816a09fe.tar.xz |
Add stuff to build external projects NetSurf and polipo.
Diffstat (limited to '')
-rwxr-xr-x | build.lua | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -26,6 +26,11 @@ runCommand = function (name, dir, command) | |||
26 | os.execute('cd ' .. dir .. '; ' .. command) | 26 | os.execute('cd ' .. dir .. '; ' .. command) |
27 | end | 27 | end |
28 | 28 | ||
29 | cloneGit = function (name, dir, repo, branch) | ||
30 | runCommand(nil, dir, 'rm -rf ' .. name) | ||
31 | runCommand(nil, dir, 'git clone git://' .. repo .. '/' .. name) | ||
32 | end | ||
33 | |||
29 | compileFiles = function (name, dir, files, extras) | 34 | compileFiles = function (name, dir, files, extras) |
30 | local objects = '' | 35 | local objects = '' |
31 | print('\n' .. name) | 36 | print('\n' .. name) |