From d911e7e1b773379f903a2c3dcc10b4e58882f2ce Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 29 Mar 2016 01:19:38 +1000 Subject: Add Prosody build script. --- build.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build.lua') 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) runCommand(nil, dir, 'git clone git://' .. repo .. '/' .. name) end +cloneHG = function (name, dir, repo, branch) + runCommand(nil, dir, 'rm -rf ' .. name) + runCommand(nil, dir, 'hg clone http://' .. repo .. ' ' .. name) +end + compileFiles = function (name, dir, files, extras) local objects = '' print('\n' .. name) -- cgit v1.1