mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
GNUmakefile: Add target for running scansion
This commit is contained in:
parent
8c87ed548d
commit
45b1245e12
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue