From af6afa3c31d1909b3cbe1c9027fc97638882bc38 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Fri, 30 May 2014 21:01:46 -0700 Subject: [PATCH] dump ver in 'make versioncheck' --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 9c09b64..3fe3545 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +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) [[ `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}'` ]]