Fix html convertation in desktopeditors

This commit is contained in:
Alexey Golubev 2018-11-28 16:36:38 +03:00
parent 2f044295b6
commit c4d4da066f
2 changed files with 7 additions and 3 deletions

View file

@ -424,10 +424,10 @@ module.exports = function(grunt) {
});
//quick workaround for build desktop version
var apiCopyTask = grunt.option('desktop')? "copy": "copy:script";
var copyTask = grunt.option('desktop')? "copy": "copy:script";
grunt.registerTask('deploy-api', ['api-init', 'clean', apiCopyTask, 'replace:writeVersion']);
grunt.registerTask('deploy-sdk', ['sdk-init', 'clean', 'copy']);
grunt.registerTask('deploy-api', ['api-init', 'clean', copyTask, 'replace:writeVersion']);
grunt.registerTask('deploy-sdk', ['sdk-init', 'clean', copyTask]);
grunt.registerTask('deploy-sockjs', ['sockjs-init', 'clean', 'copy']);
grunt.registerTask('deploy-xregexp', ['xregexp-init', 'clean', 'copy']);

View file

@ -48,6 +48,10 @@
"dest": "../deploy/sdkjs/slide/"
}
]
},
"desktop": {
"src": "../../sdkjs/common/HtmlFileInternal/AllFonts.js",
"dest": "../deploy/sdkjs/common/AllFonts.js"
}
}
},