mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-16 03:49:52 +00:00
Project specific changes for misspell.
- Add misspell to build container. - Add file to build container. - Ignore dagre spelling
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user