Skip to content
This repository has been archived by the owner on Mar 14, 2019. It is now read-only.

Commit

Permalink
Ensure cleanup of tmp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson committed Mar 3, 2016
1 parent 35b9cf7 commit 38a97f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ test:

lint:
@echo "Linting does not currently fail the build but is likely to do so in future - fix stuff you see, when you see it please"
@export TMP=$(shell mktemp -d) && cp -r vendor $${TMP}/src && GOPATH=$${TMP}:$${GOPATH} GO15VENDOREXPERIMENT=1 gometalinter --vendor --deadline=60s $(LINTERS) ./... || true
@export TMP=$(shell mktemp -d) && cp -r vendor $${TMP}/src && GOPATH=$${TMP}:$${GOPATH} GO15VENDOREXPERIMENT=1 gometalinter --vendor --deadline=60s $(LINTERS) ./... || rm -rf $${TMP}} || true

docker-scratch:
gox -verbose $(BUILDFLAGS) -os="linux" -arch="amd64" \
Expand Down

0 comments on commit 38a97f4

Please sign in to comment.