Permalink
Browse files

use node -p in the makefile

instead of console.log
  • Loading branch information...
1 parent b498010 commit cc87b62d9e8a81fba80d4f92ceba692fe8656e81 @jneen committed Feb 5, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
@@ -48,7 +48,7 @@ report: $(UGLY)
# -*- packaging -*- #
# XXX this is kind of awful, but hey, it keeps the version info in the right place.
-VERSION = $(shell node -e 'console.log(require("./package.json").version)')
+VERSION = $(shell node -p 'require("./package.json").version')
PACKAGE = tmp/parsimmon-$(VERSION).tgz
DISTDIR = parsimmon-$(VERSION)
DIST = $(DISTDIR).tgz

0 comments on commit cc87b62

Please sign in to comment.