-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgulpconfig.yml
76 lines (67 loc) · 1.7 KB
/
gulpconfig.yml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
browsersync:
notify: true
open: true
port: 3000
server:
basedir: "_site/"
xip: false
browser: "Google Chrome"
clean:
# The jekyll build dir
- "_site"
- "assets/js/bower.js"
copy:
# Paths to static assets that aren't (S)CSS or JavaScript
# because these are completely handled by the sass and javascript tasks
assets:
# all files below the assets dir
- "assets/**/*"
# exclusions:
- "!assets/{js,scss,css}/**/*" # js, scss and css files
- "!assets/css{,/**}" # css dir
- "!assets/js{,/**}" # js dir
- "!assets/scss{,/**}" # scss dir
dist: "_site/assets/"
notification: "Running Copy"
sass:
# Autoprefixer will make sure your CSS works with these browsers
compatibility:
- "last 2 versions"
- "ie >= 9"
dest:
jekyllRoot: "assets/css/"
buildDir: "_site/assets/css/"
notification: "Running Sass"
src: "assets/scss/main.scss"
javascript:
dest:
jekyllRoot: "assets/js/"
buildDir: "_site/assets/js/"
filename: "all.js"
notification: "Running JavaScript"
src:
- "!assets/js/all.js"
- "assets/js/bower.js"
- "assets/js/app.js"
jekyll:
notification: "Running jekyll"
watch:
images: "assets/img/**/*"
javascript: "assets/js/app.js"
sass: "assets/scss/**/*.scss"
pages:
- "*.{md,html,yml,xml}"
- "{_data,_includes,_layouts,_pages,_posts}/**/*.{md,html,yml,xml}"
- "!_site/**/*.*"
- "!assets/**/*.*"
bower:
sass:
src: "./assets/scss/_bower.scss"
dest: "./assets/scss"
js:
src: "./assets/js/bower.js"
dest: "./assets/js"
deploy:
hostname: 'leslash.com'
destination: '/srv/users/serverpilot/apps/xxxxx/public/'
username: 'serverpilot'