Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (11 sloc) 395 Bytes
MOCHA_FLAGS ?= -R spec
MOCHA ?= ./node_modules/.bin/mocha
TESTS ?= $$(find test -name *.test.js)
COMPONENT ?= ./node_modules/.bin/component
UGLIFYJS ?= ./node_modules/.bin/uglifyjs
test:
$(MOCHA) -r should $(MOCHA_FLAGS) $(TESTS)
build:
$(COMPONENT) build --standalone assurance --name assurance
$(UGLIFYJS) build/assurance.js > build/assurance.min.js
.PHONY: test build
Something went wrong with that request. Please try again.