Fixed typo in Gruntfile; added Make tasks to compile frontend assets; Modernized the gathering of benchmark result data for the test view

This commit is contained in:
2025-07-14 13:53:50 -04:00
parent 82f42ecbed
commit bef17b5a59
12 changed files with 171 additions and 26 deletions

View File

@ -6,6 +6,16 @@ VERSION=`git describe --tags`
build:
@go build -o $(NAME) -ldflags "-X git.metaunix.net/bitgoblin/blt/app.AppVersion=$(VERSION)"
.PHONY: grunt
## grunt: Compile frontend assets.
grunt:
@npm run grunt
.PHONY: grunt-watch
## grunt-watch: Compile frontend assets while watching for changes.
grunt-watch:
@npm run grunt watch
.PHONY: run
## run: Build and Run in development mode.
run: build