-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcopy.js
executable file
·62 lines (52 loc) · 908 Bytes
/
copy.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
56
57
58
59
60
61
62
'use strict';
var config = require('./config');
var copy = {
build: {
expand: true,
cwd: config.src,
dest: config.build + '/' + config.src,
src: [
'**/*',
'!**/*.js',
'!**/*.scss',
'!**/*.orig'
],
filter: 'isFile',
options: {
mode: true
}
},
test: {
expand: true,
cwd: config.test,
dest: config.build + '/' + config.test,
src: [
'**/*',
'!**/*.js'
],
filter: 'isFile'
},
dist: {
expand: true,
cwd: config.build + '/' + config.src,
dest: config.dist,
src: [
'**/*',
'!**/*.js',
'!**/*.css'
],
filter: 'isFile',
options: {
mode: true
}
},
jwplayer: {
cwd: 'src/lib/jwplayer-7.9.3',
dest: config.build + '/' + config.src + '/htdocs/lib/jwplayer',
expand: true,
src: [
'**/*'
]
}
};
module.exports = copy;