Software / code / prosody
Comparison
GNUmakefile @ 9288:1330b5290a10
GNUmakefile: Allow overriding path to busted
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 09 Sep 2018 19:23:52 +0200 |
| parent | 9287:420e0bf55bf5 |
| child | 9289:b5fc11475b5d |
comparison
equal
deleted
inserted
replaced
| 9287:420e0bf55bf5 | 9288:1330b5290a10 |
|---|---|
| 18 INSTALL_EXEC=$(INSTALL) -m755 | 18 INSTALL_EXEC=$(INSTALL) -m755 |
| 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 | 24 |
| 24 .PHONY: all test coverage clean install | 25 .PHONY: all test coverage clean install |
| 25 | 26 |
| 26 all: prosody.install prosodyctl.install prosody.cfg.lua.install prosody.version | 27 all: prosody.install prosodyctl.install prosody.cfg.lua.install prosody.version |
| 27 $(MAKE) -C util-src install | 28 $(MAKE) -C util-src install |
| 66 rm -f prosody.cfg.lua.install | 67 rm -f prosody.cfg.lua.install |
| 67 rm -f prosody.version | 68 rm -f prosody.version |
| 68 $(MAKE) clean -C util-src | 69 $(MAKE) clean -C util-src |
| 69 | 70 |
| 70 test: | 71 test: |
| 71 busted --lua=$(RUNWITH) | 72 $(BUSTED) --lua=$(RUNWITH) |
| 72 | 73 |
| 73 coverage: | 74 coverage: |
| 74 -rm -- luacov.* | 75 -rm -- luacov.* |
| 75 busted --lua=$(RUNWITH) -c | 76 busted --lua=$(RUNWITH) -c |
| 76 luacov | 77 luacov |