Moved test running to gruntfile

This commit is contained in:
Marcin Kurczewski 2014-09-09 19:10:25 +02:00
parent 65da8e9948
commit e6c7ed7e11
2 changed files with 5 additions and 2 deletions

View file

@ -40,11 +40,16 @@ module.exports = function(grunt) {
},
command: 'php run.php --config <%= phpCheckStyleConfigPath %> --src <%= phpSourcesDir %> --exclude di.php --format console',
},
tests: {
command: 'phpunit --strict --bootstrap src/AutoLoader.php tests/',
},
},
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-shell');
grunt.registerTask('default', ['jshint', 'shell']);
grunt.registerTask('tests', ['shell:tests']);
};

View file

@ -1,2 +0,0 @@
#!/bin/sh
phpunit --strict --bootstrap src/AutoLoader.php tests/