Skip to content

Commit

Permalink
Simplify Makefile, run test during image build
Browse files Browse the repository at this point in the history
  • Loading branch information
errordeveloper committed Jun 22, 2018
1 parent 01bb0ac commit 04425e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN mkdir -p "$(dirname ${EKSCTL})"
COPY . $EKSCTL

WORKDIR $EKSCTL
RUN make \
RUN make test && make && \
&& cp ./eksctl /out/usr/local/bin/eksctl

RUN go build ./vendor/github.com/heptio/authenticator/cmd/heptio-authenticator-aws \
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ build:

.PHONY: test
test:
go test $(shell go list ./... | grep -v "^github.com/weaveworks/eksctl/vendor" | sort -u)

go test -v ./pkg/... ./cmd/...

.PHONY: update-bindata
update-bindata:
Expand Down

0 comments on commit 04425e9

Please sign in to comment.