From 89f70b28beda7d9627bbcdbfa28cdd05728eb993 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Fri, 5 Feb 2016 18:28:54 +0000 Subject: [PATCH] Fix precheck command after phpcs renaming and add missing checks. In https://github.com/moodlehq/moodle-local_ci/pull/70 the php code sniffer abbreviation was changed to phpcs. In various other isues we've added more CI checks which are missing from mdk. Ideally this should be rewritten to output the result of all the checks, regardless of whether they are defined in mdk, but thats for another day. --- mdk/commands/precheck.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mdk/commands/precheck.py b/mdk/commands/precheck.py index 823160f..5853765 100644 --- a/mdk/commands/precheck.py +++ b/mdk/commands/precheck.py @@ -116,13 +116,15 @@ class PrecheckCommand(Command): mapping = { 'phplint': 'PHP Lint', - 'php': 'PHP coding style', + 'phpcs': 'PHP coding style', 'js': 'Javascript', 'css': 'CSS', 'phpdoc': 'PHP Doc', 'commit': 'Commit message', 'savepoint': 'Update/Upgrade', - 'thirdparty': 'Third party' + 'thirdparty': 'Third party', + 'grunt': 'Grunt', + 'shifter': 'Shifter' } for key in mapping: -- 2.11.0