mirror of
https://github.com/google/blockly.git
synced 2026-01-06 00:20:37 +01:00
Rebuild for release with options parsing fix. (#3618)
This commit is contained in:
@@ -915,12 +915,13 @@ gulp.task('package', gulp.parallel(
|
||||
// The release task prepares Blockly for an npm release.
|
||||
// It rebuilds the Blockly compressed files and updates the TypeScript
|
||||
// typings, and then packages all the npm release files into the /dist directory
|
||||
gulp.task('release', gulp.series(['build', 'typings', function() {
|
||||
gulp.task('release', gulp.series(['build', 'typings', function(cb) {
|
||||
// Clean directory if exists
|
||||
if (fs.existsSync(packageDistribution)) {
|
||||
rimraf.sync(packageDistribution);
|
||||
}
|
||||
fs.mkdirSync(packageDistribution);
|
||||
cb();
|
||||
}, 'package']));
|
||||
|
||||
// The default task builds Blockly.
|
||||
|
||||
Reference in New Issue
Block a user