Skip to content

Commit

Permalink
[build] Revert deployment of "diagram" sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
konovalovsergey committed Feb 6, 2025
1 parent 6928df0 commit baa7464
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions build/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,22 +365,22 @@ module.exports = function(grunt) {
}
]
},
// visio: {
// files: [
// {
// expand: true,
// cwd: visio,
// src: [
// 'sdk-all-min.js.map',
// 'sdk-all.js.map',
// ],
// dest: 'maps',
// rename: function (dest, src) {
// return path.join(dest , src.replace('sdk', 'visio'));
// }
// }
// ]
// }
visio: {
files: [
{
expand: true,
cwd: visio,
src: [
'sdk-all-min.js.map',
'sdk-all.js.map',
],
dest: 'maps',
rename: function (dest, src) {
return path.join(dest , src.replace('sdk', 'visio'));
}
}
]
}
},
clean: {
deploy: {
Expand All @@ -394,15 +394,15 @@ module.exports = function(grunt) {
path.join(cell, 'sdk-all.js.map'),
path.join(slide, 'sdk-all-min.js.map'),
path.join(slide, 'sdk-all.js.map'),
// path.join(visio, 'sdk-all-min.js.map'),
// path.join(visio, 'sdk-all.js.map'),
path.join(visio, 'sdk-all-min.js.map'),
path.join(visio, 'sdk-all.js.map'),
]
}
}
});
grunt.task.run('copy', 'clean');
});
grunt.registerTask('compile-sdk', ['compile-word', 'compile-cell', 'compile-slide'/* , 'compile-visio' */]);
grunt.registerTask('compile-sdk', ['compile-word', 'compile-cell', 'compile-slide', 'compile-visio']);
grunt.registerTask('clean-deploy', 'Clean deploy folder before deploying', function () {
grunt.initConfig({
clean: {
Expand Down Expand Up @@ -521,7 +521,7 @@ module.exports = function(grunt) {
writeScripts(configs.word['sdk'], 'word');
writeScripts(configs.cell['sdk'], 'cell');
writeScripts(configs.slide['sdk'], 'slide');
// writeScripts(configs.visio['sdk'], 'visio');
writeScripts(configs.visio['sdk'], 'visio');
});
const defaultTasks = ['clean-deploy', 'compile-sdk', 'copy-other'];
if (grunt.option('map')) {
Expand Down

0 comments on commit baa7464

Please sign in to comment.