Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Less warning, better style

  • Loading branch information...
commit 4f0d3340fb9b10dd5ffd772e509fec5ccf1f4f50 1 parent f32af47
@isaacs isaacs authored
Showing with 8 additions and 8 deletions.
  1. +8 −8 Makefile
View
16 Makefile
@@ -32,12 +32,12 @@ clean: uninstall
uninstall: submodules
node cli.js cache clean
- node cli.js rm npm -g -f
+ node cli.js rm npm -g -f --loglevel error
man: man1
man1: $(doc_subfolders)
- @if ! test -d man1 ; then mkdir -p man1 ; fi
+ [ -d man1 ] || mkdir -p man1
doc: man1 $(docs)
@@ -47,18 +47,18 @@ man1/%.1: doc/%.md
./node_modules/.bin/ronn --roff $< > $@
man1/%/: doc/%/
- @if ! test -d $@ ; then mkdir -p $@ ; fi
+ @[ -d $@ ] || mkdir -p $@
test: submodules
node cli.js test
version: link
- git add package.json \
- && git ci -m v$(shell npm -v)
+ git add package.json &&\
+ git ci -m v$(shell npm -v)
publish: link
- git tag -s -m v$(shell npm -v) v$(shell npm -v) \
- && git push origin master \
- && npm publish
+ git tag -s -m v$(shell npm -v) v$(shell npm -v) &&\
+ git push origin master &&\
+ npm publish
.PHONY: latest install dev link doc clean uninstall test man
Please sign in to comment.
Something went wrong with that request. Please try again.