fix 'make versioncheck'

master
Trent Mick 2014-05-31 22:58:40 -07:00
parent 4670906256
commit 3c62838c38
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ all:
# Ensure all version-carrying files have the same version.
.PHONY: versioncheck
versioncheck:
@echo version is: $(shell cat package.json | lib/json.js version)
@echo version is: $(shell cat package.json | json version)
[[ `cat package.json | json version` == `grep '^## ' CHANGES.md | head -1 | awk '{print $$3}'` ]]
[[ `cat package.json | json version` == `grep '^var VERSION' bin/bunyan | awk -F"'" '{print $$2}'` ]]
[[ `cat package.json | json version` == `grep '^var VERSION' lib/bunyan.js | awk -F"'" '{print $$2}'` ]]