mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Clean up build script.
This commit is contained in:
parent
0d1df159c4
commit
2a75b04af0
1 changed files with 1 additions and 3 deletions
|
@ -25,10 +25,8 @@
|
||||||
# stripped Preprocessed, formated but without comments
|
# stripped Preprocessed, formated but without comments
|
||||||
|
|
||||||
# Extract paper.js version from package.json
|
# 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)
|
DATE=$(git log -1 --pretty=format:%ad)
|
||||||
|
|
||||||
COMMAND="./prepro.js -d '{ \"version\": \"$VERSION\", \"date\": \"$DATE\", \"parser\": \"acorn\", \"svg\": true, \"fatline\": false }' $3 $2"
|
COMMAND="./prepro.js -d '{ \"version\": \"$VERSION\", \"date\": \"$DATE\", \"parser\": \"acorn\", \"svg\": true, \"fatline\": false }' $3 $2"
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
|
|
Loading…
Reference in a new issue