To use it in a tool, read the Usage documentation.
git clone --recursive https://github.com/Krinkle/TsIntuition.git
If you haven't already, install PHPUnit and make sure it is in your PATH
. The easiest way to install it is through PEAR (you may have to use sudo
):
pear channel-discover pear.phpunit.de
pear update-channels
pear install --alldeps phpunit/PHPUnit
Run tests:
phpunit --configuration tests/phpunit/phpunit.xml
Or simply npm test
(if you have node installed).
For building of AUTHORS.txt
(and linting of code base in the future) we use node-grunt.
Make sure you have nodejs installed and grunt with npm install -g grunt
.
Then from inside the root directory of this project:
npm install
- To regenerate the
AUTHORS.txt
list:$ grunt authors
- The default action is to update submodules and lint the grunt file:
$ grunt