Moved test running to gruntfile
This commit is contained in:
parent
65da8e9948
commit
e6c7ed7e11
2 changed files with 5 additions and 2 deletions
|
@ -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']);
|
||||
|
||||
};
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
phpunit --strict --bootstrap src/AutoLoader.php tests/
|
Loading…
Reference in a new issue