Break up the gulp website task

pull/1226/head
Alex Dima 6 years ago
parent 0f4f663181
commit 3664cb4445

@ -519,7 +519,7 @@ function addPluginThirdPartyNotices() {
// --- website
gulp.task('clean-website', function(cb) { rimraf('../monaco-editor-website', { maxBusyTries: 1 }, cb); });
gulp.task('website', ['clean-website'], function() {
gulp.task('build-website', ['clean-website'], function() {
const initialCWD = process.cwd();
@ -653,6 +653,13 @@ gulp.task('website', ['clean-website'], function() {
});
fs.unlink('../monaco-editor-website/package.json');
this.emit('end');
}))
);
});
gulp.task('website', ['build-website'], function() {
cp.execSync('git init', {
cwd: path.join(__dirname, '../monaco-editor-website')
});
@ -681,10 +688,6 @@ gulp.task('website', ['clean-website'], function() {
cwd: path.join(__dirname, '../monaco-editor-website')
});
console.log('RUN monaco-editor-website>git push origin gh-pages --force')
this.emit('end');
}))
);
});
gulp.task('generate-test-samples', function() {

1206
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -1 +1,2 @@
node_modules/monaco-editor/dev
node_modules/monaco-editor/esm

Loading…
Cancel
Save