-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Gruntfile.js
30 lines (28 loc) · 886 Bytes
/
Gruntfile.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
module.exports = function(grunt) {
grunt.initConfig({
sass: { // Task
dist: { // Target
options: { // Target options
style: 'expanded',
quiet: true
},
files: { // Dictionary of files
'gtk-3.0/dist/gtk-light.css': 'sass/gtk-3.0/gtk-light.scss', // 'destination': 'source'
'gtk-3.0/dist/gtk-dark.css': 'sass/gtk-3.0/gtk-dark.scss',
'gnome-shell/gnome-shell.css': 'sass/gnome-shell/gnome-shell.scss'
}
}
},
watch: {
sass: {
files: [
'sass/**/*.scss'
],
tasks: ['sass']
}
}
});
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['sass', 'watch']);
}