Skip to content

Instantly share code, notes, and snippets.

@gabidavila
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabidavila/b35b09288a0acfe85223 to your computer and use it in GitHub Desktop.
Save gabidavila/b35b09288a0acfe85223 to your computer and use it in GitHub Desktop.
// Part of Gruntfile.js, this is the sass section
sass: {
css: {
options: {
style: 'compressed',
compass: true
},
// This will get all the scss files in /public/assets/stylesheets
files: [{
expand: true,
cwd: '<%= paths.assets.css %>',
src: '**/*.scss',
dest: '<%= paths.css %>',
ext: '.css',
}],
},
},
// This is at the end of the file, the plugin section:
// Plugin loading
grunt.loadNpmTasks('grunt-contrib-compass');
grunt.loadNpmTasks('grunt-contrib-sass');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment