0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-26 13:49:01 -05:00

fix grunt for travis

This commit is contained in:
liabru 2015-08-04 19:53:15 +01:00
parent 3ce6c3a017
commit f55d806b72

View file

@ -66,6 +66,11 @@ module.exports = function(grunt) {
open: 'http://localhost:9000/demo/dev.html',
livereload: 9001
}
},
serve: {
options: {
port: 9000
}
}
},
watch: {
@ -134,10 +139,11 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-shell');
grunt.registerTask('default', ['test', 'build']);
grunt.registerTask('test', ['jshint', 'testDemo']);
grunt.registerTask('test', ['jshint', 'test:demo']);
grunt.registerTask('test:all', ['build:dev', 'connect:serve', 'test']);
grunt.registerTask('dev', ['build:dev', 'connect:watch', 'watch']);
grunt.registerTask('testDemo', function() {
grunt.registerTask('test:demo', function() {
var updateAll = grunt.option('updateAll'),
diff = grunt.option('diff');