forked from Elara6331/itd
Switch version.txt target to use go generate
This commit is contained in:
parent
2c733edeec
commit
f3f66176b8
2
Makefile
2
Makefile
@ -25,6 +25,6 @@ uninstall:
|
|||||||
rm $(CFG_PREFIX)/itd.toml
|
rm $(CFG_PREFIX)/itd.toml
|
||||||
|
|
||||||
version.txt:
|
version.txt:
|
||||||
printf "r%s.%s" "$(shell git rev-list --count HEAD)" "$(shell git rev-parse --short HEAD)" > version.txt
|
go generate
|
||||||
|
|
||||||
.PHONY: all clean install uninstall
|
.PHONY: all clean install uninstall
|
Loading…
Reference in New Issue
Block a user