Project specific changes for misspell.

- Add misspell to build container.
- Add file to build container.
- Ignore dagre spelling
This commit is contained in:
Tom Wilkie
2016-03-23 10:03:26 +00:00
parent f1c6d4dc55
commit a4e707d179
2 changed files with 4 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ tests: $(SCOPE_BACKEND_BUILD_UPTODATE)
./tools/test -no-go-get
lint: $(SCOPE_BACKEND_BUILD_UPTODATE)
./tools/lint .
./tools/lint -ignorespelling "agre " -ignorespelling "AGRE " .
prog/static.go: $(SCOPE_BACKEND_BUILD_UPTODATE)
esc -o $@ -prefix client/build client/build

View File

@@ -1,10 +1,11 @@
FROM golang:1.6.0
RUN apt-get update && apt-get install -y libpcap-dev python-requests time
RUN apt-get update && apt-get install -y libpcap-dev python-requests time file
RUN go clean -i net && go install -tags netgo std && go install -race -tags netgo std
RUN go get -tags netgo \
github.com/fzipp/gocyclo \
github.com/golang/lint/golint \
github.com/kisielk/errcheck \
github.com/mjibson/esc
github.com/mjibson/esc \
github.com/client9/misspell/cmd/misspell
COPY build.sh /
ENTRYPOINT ["/build.sh"]