mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Set options.stats = false for build.sh and Node.js
This commit is contained in:
parent
cfdc479108
commit
b92be7ecf3
2 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,7 @@ OPTIONS=$(printf '%q' $(node -e "
|
|||
process.stdout.write(JSON.stringify(options));
|
||||
"))
|
||||
# Build the prepo.js command out of it, passing on version and date as defines:
|
||||
COMMAND="./prepro.js -d $OPTIONS -d '{ \"version\": \"$VERSION\", \"date\": \"$DATE\" }' $3 $2"
|
||||
COMMAND="./prepro.js -d $OPTIONS -d '{ \"version\": \"$VERSION\", \"date\": \"$DATE\", \"stats\": false }' $3 $2"
|
||||
|
||||
case $1 in
|
||||
commented)
|
||||
|
|
|
@ -25,6 +25,7 @@ eval(fs.readFileSync(path.resolve(__dirname, '../options.js'), 'utf8'));
|
|||
options.version = 'dev';
|
||||
options.browser = false;
|
||||
options.server = true;
|
||||
options.stats = false;
|
||||
|
||||
// Create a document and a window using jsdom, e.g. for exportSVG()
|
||||
var doc = jsdom.jsdom("<html><body></body></html>"),
|
||||
|
|
Loading…
Reference in a new issue