update version check for jsstyling (using single-quotes for stirngs now)

This commit is contained in:
Trent Mick 2012-06-04 23:22:39 -07:00
parent e9d768b70e
commit cd009b392c

View file

@ -18,7 +18,7 @@ all:
.PHONY: versioncheck .PHONY: versioncheck
versioncheck: versioncheck:
[[ `cat package.json | json version` == `grep '^var VERSION' bin/bunyan | awk -F'"' '{print $$2}'` ]] [[ `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}'` ]] [[ `cat package.json | json version` == `grep '^var VERSION' lib/bunyan.js | awk -F"'" '{print $$2}'` ]]
@echo Version check ok. @echo Version check ok.
.PHONY: cutarelease .PHONY: cutarelease