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 () {
|
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');
|
||||||
|
|||||||
@ -23,6 +23,9 @@
|
|||||||
"dest": "./build/server"
|
"dest": "./build/server"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"develop-copy": {
|
||||||
|
"server": {}
|
||||||
|
},
|
||||||
"clean": {
|
"clean": {
|
||||||
"options": {
|
"options": {
|
||||||
"force": true
|
"force": true
|
||||||
|
|||||||
Reference in New Issue
Block a user