Software /
code /
verse
Changeset
158:068176069dfa
squishy: Add --prosody option to specify a path to a Prosody checkout to use when squishing
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 30 Nov 2010 13:23:24 +0000 |
parents | 157:7c47e5639c00 |
children | 159:88cc513e81c8 |
files | squishy |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/squishy Sat Nov 27 18:48:41 2010 +0000 +++ b/squishy Tue Nov 30 13:23:24 2010 +0000 @@ -8,7 +8,11 @@ Module "lib.adhoc" "libs/adhoc.lib.lua" -- Prosody libraries -AutoFetchURL "http://prosody.im/tip/?" +if not GetOption("prosody") then + AutoFetchURL "http://prosody.im/tip/?" +else + AutoFetchURL(GetOption("prosody").."/?") +end Module "util.stanza" "util/stanza.lua" Module "util.timer" "util/timer.lua"