1 parent 36b20bc commit 99d3107Copy full SHA for 99d3107
1 file changed
makefile
@@ -1,4 +1,4 @@
1
-.PHONY: build run test install db-up db-down db-clean bi fmt fmt-check vet integration-gen integration-test bench race lint
+.PHONY: build build-prod run test install db-up db-down db-clean bi fmt fmt-check vet integration-gen integration-test bench race lint
2
3
bi: build install
4
@@ -11,6 +11,9 @@ bench:
11
build:
12
go build -o bin/valkyrie
13
14
+build-prod:
15
+ go build -ldflags="-s -w" -o bin/valkyrie
16
+
17
install: build
18
mkdir -p $(HOME)/go/bin
19
ln -sf $(shell pwd)/bin/valkyrie $(HOME)/go/bin/valkyrie
0 commit comments