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:
10
Makefile
10
Makefile
@ -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
|
||||
|
Reference in New Issue
Block a user