mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 01:31:17 +00:00
install shfmt for shell linting
This commit is contained in:
1
Makefile
1
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
|
||||
|
||||
@@ -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 /
|
||||
|
||||
Reference in New Issue
Block a user