Commit 0b6249d7 authored by Alexander.Trofimov's avatar Alexander.Trofimov

delete tasks from configs

parent 9656bad7
......@@ -73,17 +73,6 @@ module.exports = function(grunt) {
grunt.log.error().writeln('Could not load config file'.red);
});
grunt.registerTask('build_sdk', 'Build sdk.', function(){
if (packageFile) {
if (packageFile['tasks']['build'])
grunt.task.run(packageFile['tasks']['build']);
else
grunt.log.error().writeln('Not found "build" task in configure'.red);
} else {
grunt.log.error().writeln('Is not load configure file.'.red);
}
});
grunt.registerTask('build_word', ['build_webword_init', 'build_sdk']);
grunt.registerTask('build_cell', ['build_webexcel_init', 'build_sdk']);
grunt.registerTask('build_slide', ['build_webpowerpoint_init', 'build_sdk']);
......@@ -247,6 +236,6 @@ module.exports = function(grunt) {
});
grunt.registerTask('concat_sdk', ['concat_sdk_init', 'concat', 'clean']);
grunt.registerTask('compile_sdk', ['concat_sdk', 'compile_sdk_init', 'closure-compiler', 'splitfile', 'concat', 'replace', 'clean']);
grunt.registerTask('build_sdk', ['concat_sdk', 'compile_sdk_init', 'closure-compiler', 'splitfile', 'concat', 'replace', 'clean']);
grunt.registerTask('default', ['build_all']);
};
......@@ -276,10 +276,5 @@
"source_map": {
"url": "http://localhost:8080/sdkjs/cell"
}
},
"tasks": {
"build": [
"compile_sdk"
]
}
}
......@@ -264,10 +264,5 @@
"source_map": {
"url": "http://localhost:8080/sdkjs/slide"
}
},
"tasks": {
"build": [
"compile_sdk"
]
}
}
......@@ -256,10 +256,5 @@
"source_map": {
"url": "http://localhost:8080/sdkjs/word"
}
},
"tasks": {
"build": [
"compile_sdk"
]
}
}
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