-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgulpfile.ts
38 lines (30 loc) · 877 Bytes
/
gulpfile.ts
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
import { series, parallel } from 'gulp'
import { clean } from './utils/clean'
import { copy } from './utils/copy'
export default series(
// Cleaning 'src','svg','es','lib' before copying SVGs from 'EOS-Icons'
clean(['es','lib', 'svg', 'src/icons']),
// Running all the tasks of copying SVGs from 'EOS-Icons' in parallel
parallel(
copy({
from: ['node_modules/eos-icons/svg/*.svg'],
toDir: 'svg/filled'
}),
copy({
from: ['node_modules/eos-icons/svg/material/*.svg'],
toDir: 'svg/filled'
}),
copy({
from: ['node_modules/eos-icons/animated-svg/*.svg'],
toDir: 'svg/animated'
}),
copy({
from: ['node_modules/eos-icons/svg-outlined/*.svg'],
toDir: 'svg/outlined'
}),
copy({
from: ['node_modules/eos-icons/svg-outlined/material/*.svg'],
toDir: 'svg/outlined'
})
)
)