Advertisement
Guest User

Untitled

a guest
Dec 20th, 2014
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. module.exports = (grunt) ->
  2.  
  3. grunt.initConfig
  4.  
  5. coffee :
  6. options :
  7. bare : yes
  8. src :
  9. files : [
  10. expand : yes
  11. cwd : 'src'
  12. src : [ '**/*.coffee' ]
  13. dest : 'output/js/'
  14. ext : '.js'
  15. ]
  16. tests :
  17. files : [
  18. expand : yes
  19. cwd : 'tests'
  20. src : [ '**/*.coffee' ]
  21. dest : 'output/tests/'
  22. ext : '.js'
  23. ]
  24.  
  25.  
  26.  
  27. grunt.loadNpmTasks 'grunt-npm'
  28. grunt.loadNpmTasks 'grunt-contrib-coffee'
  29.  
  30.  
  31. grunt.registerTask 'default', 'Default task',->
  32. grunt.task.run [
  33. 'coffee'
  34. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement