File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1
- 'use strict' ;
1
+ exports . config = function ( ) {
2
+ this . setExports ( [
2
3
3
- exports . config = function ( ) {
4
- this . setExports ( [ ] ) ;
4
+ ] ) ;
5
5
6
6
this . commands . push ( {
7
7
name : 'project_cmd' ,
8
8
module : {
9
9
usage : '项目自定义的命令' ,
10
- run : function run ( ) { }
10
+ run : function ( ) { }
11
11
}
12
12
} ) ;
13
13
14
- this . setConfig ( function ( config ) {
14
+ this . setConfig ( function ( config ) {
15
15
config . context = './src' ;
16
16
config . syncConfig = {
17
- "user" : "" ,
18
- "host" : "192.168.237.71" ,
17
+ "host" : "192.168.237.71" ,
19
18
"path" : "/home/q/www/qunarzz.com/context-root"
20
19
} ;
21
20
return config ;
22
21
} ) ;
23
- } ;
22
+ } ;
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ exports.config = function() {
14
14
this . setConfig ( function ( config ) {
15
15
config . context = './src' ;
16
16
config . syncConfig = {
17
- "user" : "" ,
18
17
"host" : "192.168.237.71" ,
19
18
"path" : "/home/q/www/qunarzz.com/context-root"
20
19
} ;
You can’t perform that action at this time.
0 commit comments