summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 863114b..ca6e5d3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,12 @@
+V = 0
+REPORTER_0 = progress
+REPORTER_1 = spec
+REPORTER = $(REPORTER_$(V))
+
all: lib/decmath.min.js
test: FORCE
- mocha --reporter spec
+ mocha --reporter $(REPORTER)
lib/decmath.min.js: lib/decmath.js
uglifyjs --comments='/@licstart/' -o $@ $<