Comparison

GNUmakefile @ 10061:5c71693c8345

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 08 Jul 2019 02:44:32 +0200
parent 9807:dcc85d72d5b3
child 10260:d6b9cacfef76
comparison
equal deleted inserted replaced
10060:7a36b7ac309b 10061:5c71693c8345
19 MKDIR=install -d 19 MKDIR=install -d
20 MKDIR_PRIVATE=$(MKDIR) -m750 20 MKDIR_PRIVATE=$(MKDIR) -m750
21 21
22 LUACHECK=luacheck 22 LUACHECK=luacheck
23 BUSTED=busted 23 BUSTED=busted
24 SCANSION=scansion
24 25
25 .PHONY: all test coverage clean install 26 .PHONY: all test coverage clean install
26 27
27 all: prosody.install prosodyctl.install prosody.cfg.lua.install prosody.version 28 all: prosody.install prosodyctl.install prosody.cfg.lua.install prosody.version
28 $(MAKE) -C util-src install 29 $(MAKE) -C util-src install
69 $(MAKE) clean -C util-src 70 $(MAKE) clean -C util-src
70 71
71 test: 72 test:
72 $(BUSTED) --lua=$(RUNWITH) 73 $(BUSTED) --lua=$(RUNWITH)
73 74
75 integration-test: all
76 $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua start
77 $(SCANSION) -d ./spec/scansion; R=$$? \
78 $(RUNWITH) prosodyctl --config ./spec/scansion/prosody.cfg.lua stop \
79 exit $$R
80
74 coverage: 81 coverage:
75 -rm -- luacov.* 82 -rm -- luacov.*
76 $(BUSTED) --lua=$(RUNWITH) -c 83 $(BUSTED) --lua=$(RUNWITH) -c
77 luacov 84 luacov
78 luacov-console 85 luacov-console