From 4203fb72da2c71a9c3c3e0d7af50e38ae7139580 Mon Sep 17 00:00:00 2001 From: Glavin Wiechert Date: Sun, 11 Jun 2017 15:22:35 -0300 Subject: [PATCH] See #1687. Add docker images to supported executables --- src/beautifiers/autopep8.coffee | 3 +++ src/beautifiers/beautysh.coffee | 3 +++ src/beautifiers/clang-format.coffee | 3 +++ src/beautifiers/crystal.coffee | 3 +++ src/beautifiers/formatR/index.coffee | 3 +++ 5 files changed, 15 insertions(+) diff --git a/src/beautifiers/autopep8.coffee b/src/beautifiers/autopep8.coffee index 31e1bb1..33ee14d 100644 --- a/src/beautifiers/autopep8.coffee +++ b/src/beautifiers/autopep8.coffee @@ -21,6 +21,9 @@ module.exports = class Autopep8 extends Beautifier returnStderr: true } } + docker: { + image: "unibeautify/autopep8" + } } { name: "isort" diff --git a/src/beautifiers/beautysh.coffee b/src/beautifiers/beautysh.coffee index 1cc634e..74e3c11 100644 --- a/src/beautifiers/beautysh.coffee +++ b/src/beautifiers/beautysh.coffee @@ -15,6 +15,9 @@ module.exports = class BashBeautify extends Beautifier args: ['--help'], parse: (text) -> text.indexOf("usage: beautysh") isnt -1 and "0.0.0" } + docker: { + image: "unibeautify/beautysh" + } } ] diff --git a/src/beautifiers/clang-format.coffee b/src/beautifiers/clang-format.coffee index 30f4e31..bffd6b9 100644 --- a/src/beautifiers/clang-format.coffee +++ b/src/beautifiers/clang-format.coffee @@ -20,6 +20,9 @@ module.exports = class ClangFormat extends Beautifier version: { parse: (text) -> text.match(/version (\d+\.\d+\.\d+)/)[1] } + docker: { + image: "unibeautify/clang-format" + } } ] diff --git a/src/beautifiers/crystal.coffee b/src/beautifiers/crystal.coffee index ecfe57d..756e8c1 100644 --- a/src/beautifiers/crystal.coffee +++ b/src/beautifiers/crystal.coffee @@ -17,6 +17,9 @@ module.exports = class Crystal extends Beautifier version: { parse: (text) -> text.match(/Crystal (\d+\.\d+\.\d+)/)[1] } + docker: { + image: "unibeautify/crystal" + } } ] diff --git a/src/beautifiers/formatR/index.coffee b/src/beautifiers/formatR/index.coffee index 40e2d9f..b8e4a9e 100644 --- a/src/beautifiers/formatR/index.coffee +++ b/src/beautifiers/formatR/index.coffee @@ -21,6 +21,9 @@ module.exports = class R extends Beautifier returnStderr: true } } + docker: { + image: "unibeautify/rscript" + } } ]