From 4b459af4a8829c991cdda20f0f304e368b9e7bcc Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Sun, 14 Apr 2024 12:37:52 +0200 Subject: [PATCH] add install as target, calling "go install" convenient for local testing, i'm often running "mox localserve", often helpful if it's the latest. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 7ce3a97..c50319a 100644 --- a/Makefile +++ b/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