aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b839c7d..7232182 100644
--- a/Makefile
+++ b/Makefile
@@ -3,11 +3,10 @@
forge: $(filter-out forge,$(wildcard *)) version.go
go mod vendor
go build -o $@
- $(RM) -r vendor
version.go:
printf 'package main\nconst VERSION="%s"\n' $(shell git describe --tags --long --always --dirty) > $@
clean:
- $(RM) forge version.go
+ $(RM) forge version.go vendor