install shfmt for shell linting

This commit is contained in:
Paul Bellamy
2016-10-26 15:36:42 +01:00
parent 28900fd3fd
commit 9cc011a8f9
2 changed files with 1 additions and 1 deletions

View File

@@ -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

View File

@@ -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 /