Added Go runtime version to the layout footer
This commit is contained in:
2
Makefile
2
Makefile
@ -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.
|
||||
|
Reference in New Issue
Block a user