Skip to content

Commit

Permalink
[WIP] Fix CI
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Janssen <[email protected]>
  • Loading branch information
praseodym committed Aug 13, 2019
1 parent c94776e commit 18354e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ test-skopeo:
rm -rf $${skopeo_path}

fmt:
@gofmt -l -s -w $(SOURCE_DIRS)
gofmt -l -s -w $(SOURCE_DIRS)

validate: lint
@go vet $(PACKAGES)
@test -z "$$(gofmt -s -l . | tee /dev/stderr)"
GO111MODULE="on" go vet $(PACKAGES)
test -z "$$(gofmt -s -l . | tee /dev/stderr)"

lint:
@out="$$(golint $(PACKAGES))"; \
out="$$(golint $(PACKAGES))"; \
if [ -n "$$out" ]; then \
echo "$$out"; \
exit 1; \
Expand Down

0 comments on commit 18354e3

Please sign in to comment.