Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 0.2.1
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 30 lines (20 sloc) 0.62 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

BIN = bin/expresso
PREFIX = /usr/local
JSCOV = deps/jscoverage/node-jscoverage

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

test-cov: $(BIN)
@./$(BIN) -I lib --cov test/*.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

.PHONY: test test-cov install uninstall install-expresso install-jscov clean
Something went wrong with that request. Please try again.