Commit da5ae5ca authored by Alexey Golubev's avatar Alexey Golubev

Delete *.cache files on build sdk-all.js

parent 8a9b92f1
......@@ -161,6 +161,7 @@ module.exports = function(grunt) {
var sdkDstFolder = packageFile['compile']['sdk']['dst'];
var sdkAllMinDst = sdkDstFolder + '/sdk-all-min.js';
var sdkAllDst = sdkDstFolder + '/sdk-all.js';
var sdkAllCashe = sdkDstFolder + '/*.cache'
var sdkOpt = {
compilation_level: level,
warning_level: 'QUIET',
......@@ -203,10 +204,18 @@ module.exports = function(grunt) {
dest: sdkAllDst
}
},
clean: [
clean: {
tmp: {
options: {
force: true
},
src: [
sdkTmp,
tmp_sdk_path
],
tmp_sdk_path,
sdkAllCashe
]
}
},
replace: {
version: {
options: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment