aboutsummaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-01-10 14:27:01 +0100
committerKim Alvefur <zash@zash.se>2019-01-10 14:27:01 +0100
commit45b1245e12ee56a85bb8fb942f98673902fd706f (patch)
tree6b82eeda30f7a2884d48d97cad1f12853cbaadaa /GNUmakefile
parent8c87ed548da06d0d668034ec04e3527ba3b54716 (diff)
downloadprosody-45b1245e12ee56a85bb8fb942f98673902fd706f.tar.gz
prosody-45b1245e12ee56a85bb8fb942f98673902fd706f.zip
GNUmakefile: Add target for running scansion
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 6c134679..dd199997 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -21,6 +21,7 @@ MKDIR_PRIVATE=$(MKDIR) -m750
LUACHECK=luacheck
BUSTED=busted
+SCANSION=scansion
.PHONY: all test coverage clean install
@@ -71,6 +72,11 @@ clean:
test:
$(BUSTED) --lua=$(RUNWITH)
+integration-test: all
+ $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua start
+ $(SCANSION) -d ./spec/scansion
+ $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua stop
+
coverage:
-rm -- luacov.*
$(BUSTED) --lua=$(RUNWITH) -c