Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = (grunt) ->
- grunt.initConfig
- watch:
- coffee:
- files: '**/*.coffee'
- tasks: 'coffee'
- compass:
- files: '**/*.scss'
- tasks: 'compass'
- haml:
- files: '**/*.haml'
- tasks: 'haml'
- coffee:
- compile:
- files:
- 'js/common.js': ['coffee/*.coffee']
- haml:
- compile:
- files: [
- expand: yes
- cwd: ''
- src: ['**/*.haml']
- dest: ''
- ext: '.html'
- ]
- compass:
- compile:
- options:
- sassDir: 'sass'
- cssDir: 'css'
- grunt.loadNpmTasks 'grunt-contrib-watch'
- grunt.loadNpmTasks 'grunt-contrib-compass'
- grunt.loadNpmTasks 'grunt-contrib-coffee'
- grunt.loadNpmTasks 'grunt-contrib-haml'
- grunt.registerTask 'default', [
- 'watch'
- ]
Advertisement
Add Comment
Please, Sign In to add comment