Created
June 14, 2013 07:43
-
-
Save tuki0918/5780154 to your computer and use it in GitHub Desktop.
TiShadow-Grunt-Jasmine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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