module.exports = function(grunt) {
grunt.initConfig({
phpunit: {
classes: {
dir: 'app/tests/'
},
options: {
bin: 'vendor/bin/phpunit'
}
},
compass: {
dist: {
options: {
config: 'config.rb'
}
}
},
watch: {
js: {
files: ['public/assets/js/*.js'],
tasks: ['jshint', 'uglify']
},
sass: {
files: ['sass/*.scss'],
tasks: ['compass']
},
coffee: {
files: ['coffee/*.coffee'],
tasks: ['coffee']
},
tests: {
files: ['app/tests/*.php'],
tasks: ['phpunit']
}
}
});
grunt.loadNpmTasks('grunt-contrib');
grunt.loadNpmTasks('grunt-phpunit');
grunt.loadNpmTasks('grunt-notify');
grunt.registerTask('default', ['watch']);
};