Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use node -p in the makefile

instead of console.log
  • Loading branch information...
commit cc87b62d9e8a81fba80d4f92ceba692fe8656e81 1 parent b498010
@jneen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Makefile
View
2  Makefile
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.