diff options
author | P. J. McDermott <pj@pehjota.net> | 2017-01-07 05:34:05 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2017-01-07 05:37:52 (EST) |
commit | 7d52437ac01662984363f696e481aeff30aabae4 (patch) | |
tree | 1d3ec538ce3e9cebf4d6810ab11cfd528d3c3426 /Makefile | |
parent | a0c1c1b2fc2a551508c72b09b4d3a29561931019 (diff) | |
download | decmath.js-7d52437ac01662984363f696e481aeff30aabae4.zip decmath.js-7d52437ac01662984363f696e481aeff30aabae4.tar.gz decmath.js-7d52437ac01662984363f696e481aeff30aabae4.tar.bz2 |
Makefile: Allow mocha reporter to be overridden
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 $@ $< |