forked from Elara6331/itd
Switch version.txt target to use go generate
This commit is contained in:
parent
b64e6d27d4
commit
76320aa813
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