Name: js-handler/node_modules/nodeunit/deps/ejs/node_modules/expresso/Makefile
| 1: | PREFIX ?= /usr/local |
| 2: | BIN = bin/expresso |
| 3: | JSCOV = deps/jscoverage/node-jscoverage |
| 4: | DOCS = docs/index.md |
| 5: | HTMLDOCS = $(DOCS:.md=.html) |
| 6: | |
| 7: | test: $(BIN) |
| 8: | @./$(BIN) --growl $(TEST_FLAGS) |
| 9: | |
| 10: | test-cov: |
| 11: | @./$(BIN) -I lib --cov $(TEST_FLAGS) |
| 12: | |
| 13: | test-serial: |
| 14: | @./$(BIN) --serial $(TEST_FLAGS) test/serial/*.test.js |
| 15: | |
| 16: | install: install-jscov install-expresso |
| 17: | |
| 18: | uninstall: |
| 19: | rm -f $(PREFIX)/bin/expresso |
| 20: | rm -f $(PREFIX)/bin/node-jscoverage |
| 21: | |
| 22: | install-jscov: $(JSCOV) |
| 23: | install $(JSCOV) $(PREFIX)/bin |
| 24: | |
| 25: | install-expresso: |
| 26: | install $(BIN) $(PREFIX)/bin |
| 27: | |
| 28: | $(JSCOV): |
| 29: | cd deps/jscoverage && ./configure && make && mv jscoverage node-jscoverage |
| 30: | |
| 31: | clean: |
| 32: | @cd deps/jscoverage && git clean -fd |
| 33: | |
| 34: | docs: docs/api.html $(HTMLDOCS) |
| 35: | |
| 36: | %.html: %.md |
| 37: | @echo "... $< > [email protected]" |
| 38: | @ronn --html $< \ |
| 39: | | cat docs/layout/head.html - docs/layout/foot.html \ |
| 40: | |
| 41: | |
| 42: | docs/api.html: bin/expresso |
| 43: | dox \ |
| 44: | --title "Expresso" \ |
| 45: | --ribbon "http://github.com/visionmedia/expresso" \ |
| 46: | --desc "Insanely fast TDD framework for [node](http://nodejs.org) featuring code coverage reporting." \ |
| 47: | $< > [email protected] |
| 48: | |
| 49: | docclean: |
| 50: | rm -f docs/*.html |
| 51: | |
| 52: | .PHONY: test test-cov install uninstall install-expresso install-jscov clean docs docclean |
