From 9cc011a8f9ed58a8b99eb2a1d1820b5dab5a6e83 Mon Sep 17 00:00:00 2001 From: Paul Bellamy Date: Wed, 26 Oct 2016 15:36:42 +0100 Subject: [PATCH] install shfmt for shell linting --- Makefile | 1 - backend/Dockerfile | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5628c3d08..e269601df 100644 --- a/Makefile +++ b/Makefile @@ -103,7 +103,6 @@ tests: $(SCOPE_BACKEND_BUILD_UPTODATE) lint: $(SCOPE_BACKEND_BUILD_UPTODATE) ./tools/lint -ignorespelling "agre " -ignorespelling "AGRE " . - ./tools/shell-lint tools prog/staticui/staticui.go: $(SCOPE_BACKEND_BUILD_UPTODATE) mkdir -p prog/staticui diff --git a/backend/Dockerfile b/backend/Dockerfile index 3c1c13795..181e5c7d4 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -10,6 +10,7 @@ RUN go get -tags netgo \ github.com/golang/lint/golint \ github.com/kisielk/errcheck \ github.com/mjibson/esc \ + github.com/mvdan/sh/cmd/shfmt \ github.com/client9/misspell/cmd/misspell && \ rm -rf /go/pkg/ /go/src/ COPY build.sh /