mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-02-10 18:05:07 +08:00
[run] Fix
Fix empty
This commit is contained in:
10
Gruntfile.js
10
Gruntfile.js
@ -123,13 +123,9 @@ module.exports = function (grunt) {
|
||||
});
|
||||
|
||||
grunt.registerTask('build-develop', 'Build develop scripts', function () {
|
||||
if (packageFile.grunt["develop-copy"]) {
|
||||
grunt.initConfig({
|
||||
copy: packageFile.grunt["develop-copy"]
|
||||
});
|
||||
} else {
|
||||
grunt.registerTask('copy', 'No copy', function () {});
|
||||
}
|
||||
grunt.initConfig({
|
||||
copy: packageFile.grunt["develop-copy"]
|
||||
});
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
||||
|
||||
@ -23,6 +23,9 @@
|
||||
"dest": "./build/server"
|
||||
}
|
||||
},
|
||||
"develop-copy": {
|
||||
"server": {}
|
||||
},
|
||||
"clean": {
|
||||
"options": {
|
||||
"force": true
|
||||
|
||||
Reference in New Issue
Block a user