mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 07:48:13 +03:00
add install as target, calling "go install"
convenient for local testing, i'm often running "mox localserve", often helpful if it's the latest.
This commit is contained in:
parent
1ea851bb53
commit
4b459af4a8
3
Makefile
3
Makefile
@ -18,6 +18,9 @@ build1:
|
||||
# build again, api json files above are embedded and new frontend code generated
|
||||
CGO_ENABLED=0 go build
|
||||
|
||||
install: build0 frontend
|
||||
CGO_ENABLED=0 go install
|
||||
|
||||
test:
|
||||
CGO_ENABLED=0 go test -shuffle=on -coverprofile cover.out ./...
|
||||
go tool cover -html=cover.out -o cover.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user