Skip to content

Instantly share code, notes, and snippets.

@tuki0918
Created June 14, 2013 07:43
Show Gist options
  • Save tuki0918/5780154 to your computer and use it in GitHub Desktop.
Save tuki0918/5780154 to your computer and use it in GitHub Desktop.
TiShadow-Grunt-Jasmine
module.exports = (grunt)->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
watch:
files: ['coffee/**/*.coffee']
tasks: ['coffee', 'tishadow:test']
coffee:
compile:
files: [
expand: true
cwd: 'coffee/'
src: ['**/*.coffee']
dest: 'Resources/'
ext: '.js'
]
tishadow:
test:
command: 'spec'
run:
command: 'run'
grunt.loadNpmTasks 'grunt-contrib-coffee'
grunt.loadNpmTasks 'grunt-contrib-watch'
grunt.loadNpmTasks 'grunt-tishadow'
grunt.registerTask 'default', ['watch']
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment