Skip to content

Commit 5fe3c7c

Browse files
committed
Added grunt task
1 parent dc2492e commit 5fe3c7c

File tree

6 files changed

+528
-251
lines changed

6 files changed

+528
-251
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ nbproject
1616
# Tools
1717
.svn
1818
.sass-cache
19+
node_modules

Gruntfile.js

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module.exports = function(grunt) {
2+
grunt.initConfig({
3+
sass: {
4+
options: {
5+
sourceMap: false
6+
},
7+
dist: {
8+
files: {
9+
'css/style.css': 'sass/style.scss'
10+
}
11+
}
12+
},
13+
watch: {
14+
sass: {
15+
files: ['sass/**/*.scss'],
16+
tasks: ['sass:dist']
17+
}
18+
}
19+
});
20+
21+
grunt.loadNpmTasks('grunt-sass');
22+
grunt.loadNpmTasks('grunt-contrib-watch');
23+
24+
grunt.registerTask('default', ['watch:sass']);
25+
};

0 commit comments

Comments
 (0)