Guest User

Untitled

a guest
Jul 30th, 2013
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. module.exports = (grunt) ->
  2.  
  3. grunt.initConfig
  4. watch:
  5. coffee:
  6. files: '**/*.coffee'
  7. tasks: 'coffee'
  8. compass:
  9. files: '**/*.scss'
  10. tasks: 'compass'
  11. haml:
  12. files: '**/*.haml'
  13. tasks: 'haml'
  14. coffee:
  15. compile:
  16. files:
  17. 'js/common.js': ['coffee/*.coffee']
  18. haml:
  19. compile:
  20. files: [
  21. expand: yes
  22. cwd: ''
  23. src: ['**/*.haml']
  24. dest: ''
  25. ext: '.html'
  26. ]
  27. compass:
  28. compile:
  29. options:
  30. sassDir: 'sass'
  31. cssDir: 'css'
  32.  
  33.  
  34. grunt.loadNpmTasks 'grunt-contrib-watch'
  35. grunt.loadNpmTasks 'grunt-contrib-compass'
  36. grunt.loadNpmTasks 'grunt-contrib-coffee'
  37. grunt.loadNpmTasks 'grunt-contrib-haml'
  38.  
  39. grunt.registerTask 'default', [
  40. 'watch'
  41. ]
Advertisement
Add Comment
Please, Sign In to add comment