Sha256: 231876ee2ce0005f9aed73cb4cf7379edb7667e213443f9a7c9bb87a0c93a3e1

Contents?: true

Size: 1.18 KB

Versions: 26

Compression:

Stored size: 1.18 KB

Contents

BIN = bin/expresso
PREFIX = /usr/local
JSCOV = deps/jscoverage/node-jscoverage
DOCS = docs/index.md
HTMLDOCS = $(DOCS:.md=.html)

test: $(BIN)
	@./$(BIN) -I lib --growl $(TEST_FLAGS) test/*.test.js

test-cov:
	@./$(BIN) -I lib --cov $(TEST_FLAGS) test/*.test.js

test-serial:
	@./$(BIN) --serial -I lib $(TEST_FLAGS) test/serial/*.test.js

install: install-jscov install-expresso

uninstall:
	rm -f $(PREFIX)/bin/expresso
	rm -f $(PREFIX)/bin/node-jscoverage

install-jscov: $(JSCOV)
	install $(JSCOV) $(PREFIX)/bin

install-expresso:
	install $(BIN) $(PREFIX)/bin

$(JSCOV):
	cd deps/jscoverage && ./configure && make && mv jscoverage node-jscoverage

clean:
	@cd deps/jscoverage && git clean -fd

docs: docs/api.html $(HTMLDOCS)

%.html: %.md
	@echo "... $< > $@"
	@ronn -5 --pipe --fragment $< \
		| cat docs/layout/head.html - docs/layout/foot.html \
		> $@

docs/api.html: bin/expresso
	dox \
		--title "Expresso" \
		--ribbon "http://github.com/visionmedia/expresso" \
		--desc "Insanely fast TDD framework for [node](http://nodejs.org) featuring code coverage reporting." \
		$< > $@

docclean:
	rm -f docs/*.html

.PHONY: test test-cov install uninstall install-expresso install-jscov clean docs docclean

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
vulcan-0.8.2 server/node_modules/knox/support/expresso/Makefile
vulcan-0.8.1 server/node_modules/knox/support/expresso/Makefile
vulcan-0.8.0 server/node_modules/knox/support/expresso/Makefile
vulcan-0.7.2 server/node_modules/knox/support/expresso/Makefile
vulcan-0.7.1 server/node_modules/knox/support/expresso/Makefile
vulcan-0.7.0 server/node_modules/knox/support/expresso/Makefile
vulcan-0.6.1 server/node_modules/knox/support/expresso/Makefile
vulcan-0.6.0 server/node_modules/knox/support/expresso/Makefile
vulcan-0.5.0 server/node_modules/knox/support/expresso/Makefile
vulcan-0.4.0 server/node_modules/knox/support/expresso/Makefile
vulcan-0.3.0 server/node_modules/knox/support/expresso/Makefile
vulcan-0.2.5 server/node_modules/knox/support/expresso/Makefile
vulcan-0.2.4 server/node_modules/knox/support/expresso/Makefile
vulcan-0.2.3 server/node_modules/knox/support/expresso/Makefile
vulcan-0.2.2 server/node_modules/knox/support/expresso/Makefile
vulcan-0.2.1 server/node_modules/knox/support/expresso/Makefile
vulcan-0.2.0 server/node_modules/knox/support/expresso/Makefile
vulcan-0.1.6 server/node_modules/knox/support/expresso/Makefile
vulcan-0.1.5 server/node_modules/knox/support/expresso/Makefile
vulcan-0.1.4 server/node_modules/knox/support/expresso/Makefile