mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Description2
synced 2024-11-14 10:34:38 +00:00
build: Add php-parallel-lint and MinusX
php-lint will test for valid php files MinusX will test for executable bits Change-Id: I2dfeb4eb2fba609f0d8677eef94551fd77fffb41
This commit is contained in:
parent
61dcee7a73
commit
f27a3cc159
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,3 +2,5 @@
|
|||
*.kate-swp
|
||||
.*.swp
|
||||
node_modules/**
|
||||
vendor/**
|
||||
composer.lock
|
||||
|
|
|
@ -10,7 +10,8 @@ module.exports = function ( grunt ) {
|
|||
jsonlint: {
|
||||
all: [
|
||||
'**/*.json',
|
||||
'!node_modules/**'
|
||||
'!node_modules/**',
|
||||
'!vendor/**'
|
||||
]
|
||||
}
|
||||
} );
|
||||
|
|
16
composer.json
Normal file
16
composer.json
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"jakub-onderka/php-parallel-lint": "0.9.2",
|
||||
"jakub-onderka/php-console-highlighter": "0.3.2",
|
||||
"mediawiki/minus-x": "0.2.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": [
|
||||
"parallel-lint . --exclude vendor --exclude node_modules",
|
||||
"minus-x check ."
|
||||
],
|
||||
"fix": [
|
||||
"minus-x fix ."
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue