2012-02-02 17:11:45 +00:00
|
|
|
|
|
|
|
all:
|
|
|
|
|
|
|
|
# Ensure jsontool.js and package.json have the same version.
|
|
|
|
versioncheck:
|
|
|
|
[[ `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}'` ]]
|
|
|
|
@echo Version check ok.
|
|
|
|
|
|
|
|
cutarelease: versioncheck
|
2012-02-02 23:49:23 +00:00
|
|
|
./tools/cutarelease.py -p bunyan -f package.json -f lib/bunyan.js -f bin/bunyan
|
2012-02-02 17:11:45 +00:00
|
|
|
|