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) { ...@@ -161,6 +161,7 @@ module.exports = function(grunt) {
var sdkDstFolder = packageFile['compile']['sdk']['dst']; var sdkDstFolder = packageFile['compile']['sdk']['dst'];
var sdkAllMinDst = sdkDstFolder + '/sdk-all-min.js'; var sdkAllMinDst = sdkDstFolder + '/sdk-all-min.js';
var sdkAllDst = sdkDstFolder + '/sdk-all.js'; var sdkAllDst = sdkDstFolder + '/sdk-all.js';
var sdkAllCashe = sdkDstFolder + '/*.cache'
var sdkOpt = { var sdkOpt = {
compilation_level: level, compilation_level: level,
warning_level: 'QUIET', warning_level: 'QUIET',
...@@ -203,10 +204,18 @@ module.exports = function(grunt) { ...@@ -203,10 +204,18 @@ module.exports = function(grunt) {
dest: sdkAllDst dest: sdkAllDst
} }
}, },
clean: [ clean: {
tmp: {
options: {
force: true
},
src: [
sdkTmp, sdkTmp,
tmp_sdk_path tmp_sdk_path,
], sdkAllCashe
]
}
},
replace: { replace: {
version: { version: {
options: { 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