0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-26 13:49:01 -05:00

fix gulp issues

This commit is contained in:
liabru 2015-11-29 14:49:34 +00:00
parent fa47d5c2c7
commit 3bd556ddda
2 changed files with 6 additions and 4 deletions

View file

@ -192,8 +192,11 @@ var build = function(options) {
file.contents = res; file.contents = res;
next(null, file); next(null, file);
}); });
})) }));
.pipe(preprocess({ context: { DEBUG: false } }));
if (options.version !== 'dev') {
compiled.pipe(preprocess({ context: { DEBUG: false } }));
}
var build = compiled.pipe(clone()) var build = compiled.pipe(clone())
.pipe(header(banner + '\n' + license + '\n\n', { context: options })) .pipe(header(banner + '\n' + license + '\n\n', { context: options }))

View file

@ -49,8 +49,7 @@
"yuidocjs": "^0.9.0" "yuidocjs": "^0.9.0"
}, },
"scripts": { "scripts": {
"dev": "npm install && gulp", "test": "gulp && gulp test"
"test": "gulp test"
}, },
"dependencies": {} "dependencies": {}
} }