Added Go runtime version to the layout footer

This commit is contained in:
Gregory Ballantine
2024-05-29 11:04:31 -04:00
parent e3e4e24e56
commit 1e87466ccb
4 changed files with 11 additions and 5 deletions

View File

@ -4,7 +4,7 @@ VERSION=`git describe --tags`
.PHONY: build
## build: Compile the packages.
build:
@go build -o $(NAME) -ldflags "-X git.metaunix.net/bitgoblin/blt/app.Version=$(VERSION)"
@go build -o $(NAME) -ldflags "-X git.metaunix.net/bitgoblin/blt/app.AppVersion=$(VERSION)"
.PHONY: run
## run: Build and Run in development mode.