Skip to content

Instantly share code, notes, and snippets.

@nc
Created December 13, 2013 15:36
Show Gist options
  • Save nc/7946065 to your computer and use it in GitHub Desktop.
Save nc/7946065 to your computer and use it in GitHub Desktop.
path = require 'path'
module.exports = (grunt) ->
grunt.initConfig
clean:
css: 'public/styles/application.css'
sass:
dist:
files:
'public/styles/application.css' : 'app/styles/application.scss'
grunt.loadNpmTasks 'grunt-contrib-clean'
grunt.loadNpmTasks 'grunt-sass'
grunt.loadNpmTasks 'grunt-contrib-watch'
grunt.registerTask 'build', [
'clean'
'sass'
]
grunt.registerTask 'default', 'build'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment