UNPKG

zippa

Version:
34 lines (23 loc) 734 B
BIN=node_modules/.bin MOCHA_ARGS= --compilers js:babel-register MOCHA_TARGET=src/**/test*.js clean: rm -rf lib rm -rf docs mddocs: $(BIN)/documentation build -f md -o DOCUMENTATION.md -g ./src/*.js --config ./documentation.yml docs: clean $(BIN)/documentation build -f html -o ./docs -g --shallow ./src/*.js --config ./documentation.yml build: clean $(MAKE) docs $(BIN)/babel src --out-dir lib webpack --optimize-minimize test: lint NODE_ENV=test $(BIN)/mocha $(MOCHA_ARGS) $(MOCHA_TARGET) --prof test-watch: lint NODE_ENV=test $(BIN)/mocha $(MOCHA_ARGS) -w $(MOCHA_TARGET) --max-old-space-size=4000 --prof lint: $(BIN)/eslint src deploydocs: build $(BIN)/gulp deploy PHONY: build clean test test-watch lint docs