Created
February 24, 2014 19:12
-
-
Save shama/9194879 to your computer and use it in GitHub Desktop.
Simple gruntfile that compiles with compass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
grunt.initConfig({ | |
compass: { | |
dist: { | |
options: { | |
sassDir: 'sass', | |
cssDir: 'css', | |
environment: 'production', | |
}, | |
}, | |
}, | |
watch: { | |
css: { | |
files: ['sass/*.scss'], | |
tasks: ['compass'], | |
}, | |
}, | |
}); | |
grunt.loadNpmTasks('grunt-contrib-watch'); | |
grunt.loadNpmTasks('grunt-contrib-compass'); | |
grunt.registerTask('default', ['compass']); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment