Clean up build script.

This commit is contained in:
Jürg Lehni 2013-05-27 14:36:21 -07:00
parent 0d1df159c4
commit 2a75b04af0

View file

@ -25,10 +25,8 @@
# stripped Preprocessed, formated but without comments
# Extract paper.js version from package.json
VERSION=`node -e "process.stdout.write(require('../package.json').version)"`
VERSION=$(node -e "process.stdout.write(require('../package.json').version)")
DATE=$(git log -1 --pretty=format:%ad)
COMMAND="./prepro.js -d '{ \"version\": \"$VERSION\", \"date\": \"$DATE\", \"parser\": \"acorn\", \"svg\": true, \"fatline\": false }' $3 $2"
case $1 in