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. --- src/others/build_prosody.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 src/others/build_prosody.lua (limited to 'src') diff --git a/src/others/build_prosody.lua b/src/others/build_prosody.lua new file mode 100755 index 0000000..68f63dc --- /dev/null +++ b/src/others/build_prosody.lua @@ -0,0 +1,17 @@ +#!/usr/bin/env luajit + +local dir = ... + +if 'nil' == type(dir) then + local build, err = loadfile('../../build.lua') + if build then + setfenv(build, getfenv(2)) + build(2) + else + print("ERROR - " .. err) + end + dir = workingDir +end + +cloneHG('prosody', '.', 'hg.prosody.im/trunk', '') +runCommand(nil, 'prosody', './configure --ostype="debian" && make') -- cgit v1.1