From 7d52437ac01662984363f696e481aeff30aabae4 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 07 Jan 2017 05:34:05 -0500 Subject: Makefile: Allow mocha reporter to be overridden --- 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 $@ $< -- cgit v0.9.1