mirror of
https://github.com/chenasraf/nextcloud-app-template.git
synced 2026-05-18 01:29:09 +00:00
chore: run tests on precommit
This commit is contained in:
@@ -5,6 +5,6 @@ module.exports = {
|
||||
const filtered = files.filter(file => !file.includes('openapi.json'));
|
||||
return filtered.length > 0 ? `prettier --write ${filtered.join(' ')}` : [];
|
||||
},
|
||||
'*.php': [() => 'make php-cs-fixer'],
|
||||
'*.php': [() => 'make php-cs-fixer', () => 'make test'],
|
||||
'*Controller.php': [() => 'make openapi', () => 'git add openapi.json'],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user