Add composer.json

Test entry point for CI. Just composer install && composer test

This can later on let us easily add support for PHP CodeSniffer.

Also normalized /.gitignore

Signed-off-by: Antoine Musso <hashar@free.fr>
Change-Id: I827d29abedb32e59627fcdaf0a90815fe52efd20
This commit is contained in:
Paladox 2015-10-25 16:36:46 +00:00 committed by Antoine Musso
parent 1bb736770a
commit a087ea3334
2 changed files with 14 additions and 2 deletions

6
.gitignore vendored
View file

@ -1,2 +1,4 @@
node_modules/ /docs/
docs/ /node_modules/
/vendor/
/composer.lock

10
composer.json Normal file
View file

@ -0,0 +1,10 @@
{
"require-dev": {
"jakub-onderka/php-parallel-lint": "0.9"
},
"scripts": {
"test": [
"parallel-lint . --exclude vendor"
]
}
}