-
Notifications
You must be signed in to change notification settings - Fork 3
/
gulpconfig.js
55 lines (48 loc) · 934 Bytes
/
gulpconfig.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
'use strict';
exports.dirs = {
src_js : '../assets/_js',
js : '../assets/js',
sass : '../assets/sass',
css : '../assets/css',
images : '../assets/images',
fonts : '../assets/fonts',
core : '../core',
tmp : 'tmp',
deploy : '../'
};
exports.ftpConfig = {
host : 'ftp.SEU-SITE.com',
user : 'username',
pass : '1234',
remotePath : '/'
};
exports.rsyncConfig = {
options : {
args : [ '--verbose' ],
exclude : [
'**.DS_Store',
'**Thumbs.db',
'.editorconfig',
'.git/',
'.gitignore',
'.jshintrc',
'sass/',
'src/',
'README.md'
],
recursive : true,
compareMode : 'checksum',
syncDestIgnoreExcl : true,
onStdOut : function( data ) {
console.log( data );
}
},
staging : {
src: exports.dirs.deploy,
dest: '[email protected]:~/PATH/wp-content/themes/odin'
},
production : {
src: exports.dirs.deploy,
dest: '[email protected]:~/PATH/wp-content/themes/odin'
}
};