diff --git a/Makefile b/Makefile index 12af36964..23d98616b 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +SHELL = /bin/bash TAG := $(shell git describe --tags) LAST_TAG := $(shell git describe --tags --abbrev=0) NEW_TAG := $(shell echo $(LAST_TAG) | perl -lpe 's/v//; $$_ += 0.01; $$_ = sprintf("v%.2f", $$_)') @@ -14,6 +15,7 @@ check: rclone go vet ./... errcheck ./... golint ./... + diff <(goimports -d .) <(printf "") doc: rclone.1 MANUAL.html MANUAL.txt