]> git.r.bdr.sh - rbdr/dotfiles/blame - atom/packages/pretty-json/node_modules/jsonminify/Makefile
Update vim plugins
[rbdr/dotfiles] / atom / packages / pretty-json / node_modules / jsonminify / Makefile
CommitLineData
06a3d686
BB
1__jsdoc=node_modules/jsdoc/jsdoc
2__plato=node_modules/plato/bin/plato
3__mocha=node_modules/.bin/mocha
4__jshint=node_modules/jshint/bin/jshint
5
6__prog=minify.json.js
7
8all: jshint test
9
10release: init jshint test-doc jsdoc report
11
12init:
13 mkdir -p report
14 mkdir -p docs
15
16jshint:
17 $(__jshint) --config .jshintrc $(__prog)
18
19test:
20 $(__mocha) -r should test/test-*.js
21
22test-doc:
23 $(__mocha) -r should test/test-*.js -R doc 2>&1 > TestDoc.html
24
25jsdoc:
26 $(__jsdoc) -c .jsdoc3.json -d docs -p -r -l $(__prog)
27
28report:
29 $(__plato) -d ./report -r $(__prog)
30
31
32.PHONY: all jshint test jsdoc report