mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-08-23 22:28:43 +08:00
Update Makefile and update UI assets
This commit is contained in:
9
Makefile
9
Makefile
@@ -1,7 +1,12 @@
|
||||
.PHONY: build docker
|
||||
.PHONY: assets build docker
|
||||
|
||||
NODE_PATH ?= $(PWD)/ui/node_modules
|
||||
assets:
|
||||
@if [ ! -d "$(NODE_PATH)" ]; then cd ./ui && yarn install --modules-folder $(NODE_PATH); fi
|
||||
cd ./ui && yarn build --modules-folder $(NODE_PATH)
|
||||
|
||||
# Build a release binary.
|
||||
build:
|
||||
build: assets
|
||||
go build -o asynqmon ./cmd/asynqmon
|
||||
|
||||
# Build image and run Asynqmon server (with default settings).
|
||||
|
Reference in New Issue
Block a user