From 33584bad0492e13867d2c385f97e17cf98288f03 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Sat, 3 Aug 2019 21:34:10 +0700 Subject: [PATCH] Fudgefile: Enable pmd on Windows Choco package pmd now works on Windows, but disable its dependency on jre8. Closes https://github.com/coala/coala-bears/issues/2908 Related to https://github.com/coala/coala-bears/issues/651 --- .ci/get_tests.py | 1 - .moban.yaml | 3 +++ Fudgefile | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.ci/get_tests.py b/.ci/get_tests.py index 3f02c2310a..cf86abb494 100755 --- a/.ci/get_tests.py +++ b/.ci/get_tests.py @@ -21,7 +21,6 @@ WINDOWS_BROKEN = set(( 'bakalint', # not installed 'phpcs', # https://github.com/coala/coala-bears/issues/2916 - 'pmd', 'cpd', # https://github.com/coala/coala-bears/issues/2908 'mcs', # choco mono isnt providing this in the PATH 'tailor', # installer fails 'shellcheck', # https://github.com/coala/coala-bears/issues/2920 diff --git a/.moban.yaml b/.moban.yaml index b9824460e7..db1b914643 100644 --- a/.moban.yaml +++ b/.moban.yaml @@ -66,6 +66,9 @@ choco_requirements: cppcheck: true xsltproc: true ShellCheck: true # https://github.com/coala/coala-bears/issues/2920 + pmd: + # pmd depends on jre8, unnecessary duplication of adoptopenjdk + args: --ignore-dependencies # The first entry is the most supported # Latter entries which are higher versions may have some bears disabled diff --git a/Fudgefile b/Fudgefile index ba5a989ea2..a661ca06a6 100644 --- a/Fudgefile +++ b/Fudgefile @@ -97,6 +97,11 @@ { "name": "ShellCheck", "source": "" + }, + { + "args": "--ignore-dependencies", + "name": "pmd", + "source": "" } ], "scripts": {