Remove vendor dir if it exists on clean
@@ -50,7 +50,7 @@ LDFLAGS=-ldflags "-X $(PACKAGE_NAME)/calicoctl/commands.VERSION=$(GIT_VERSION) \
## Clean enough that a new release build will be clean
clean:
find . -name '*.created-$(ARCH)' -exec rm -f {} \;
- rm -rf .go-pkg-cache bin build certs *.tar
+ rm -rf .go-pkg-cache bin build certs *.tar vendor
docker rmi $(BUILD_IMAGE):latest-$(ARCH) || true
docker rmi $(BUILD_IMAGE):$(VERSION)-$(ARCH) || true
ifeq ($(ARCH),amd64)
