Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

SHELL := /bin/bash
BINDIR := bin
PKG := github.com/envoyproxy/go-control-plane
PKG := github.com/envoyproxy/go-control-plane

.PHONY: build
build:
Expand All @@ -30,10 +30,6 @@ test:
cover:
@build/coverage.sh

.PHONY: format
format:
@goimports -local $(PKG) -w -l pkg

.PHONY: examples
examples:
@pushd examples/dyplomat && go build ./... && popd
Expand Down
8 changes: 0 additions & 8 deletions build/do_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,8 @@ set -x
# Needed to avoid issues with go version stamping in CI build
git config --global --add safe.directory /go-control-plane

go install golang.org/x/tools/cmd/goimports@latest

cd /go-control-plane

NUM_DIFF_LINES=`/go/bin/goimports -local github.com/envoyproxy/go-control-plane -d pkg | wc -l`
if [[ $NUM_DIFF_LINES > 0 ]]; then
echo "Failed format check. Run make format"
exit 1
fi

make build
make bin/example
make examples
Expand Down