[run] Fix

Fix empty
This commit is contained in:
Alexander Trofimov
2020-10-22 12:40:23 +03:00
parent dc458c7b76
commit a2b3b71163
2 changed files with 6 additions and 7 deletions

View File

@ -123,13 +123,9 @@ module.exports = function (grunt) {
}); });
grunt.registerTask('build-develop', 'Build develop scripts', function () { grunt.registerTask('build-develop', 'Build develop scripts', function () {
if (packageFile.grunt["develop-copy"]) { grunt.initConfig({
grunt.initConfig({ copy: packageFile.grunt["develop-copy"]
copy: packageFile.grunt["develop-copy"] });
});
} else {
grunt.registerTask('copy', 'No copy', function () {});
}
}); });
grunt.loadNpmTasks('grunt-contrib-clean'); grunt.loadNpmTasks('grunt-contrib-clean');

View File

@ -23,6 +23,9 @@
"dest": "./build/server" "dest": "./build/server"
} }
}, },
"develop-copy": {
"server": {}
},
"clean": { "clean": {
"options": { "options": {
"force": true "force": true