aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-28 21:59:05 +1000
committerDavid Walter Seikel2016-03-28 21:59:05 +1000
commit26e55ced73cb1154906f11b7d6e965cb816a09fe (patch)
tree919766d31509c4cd370179ff0ecd6bfec05f6e25 /build.lua
parentThe beginnings of an image map for SledjHamr, needs more docs to link to. (diff)
downloadSledjHamr-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 '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)