aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-03-18 02:21:30 +0700
committerShulhan <ms@kilabit.info>2024-03-18 21:55:35 +0700
commit2e619db979d76c3e478d0b0592a569a005dc18c0 (patch)
treeeb2778973272c96c9d545a0bb4f458a653dc9b51 /Makefile
parente6fed3ef602c587602a7e1eb1de303a0aafdc527 (diff)
downloadhaminer-2e619db979d76c3e478d0b0592a569a005dc18c0.tar.xz
all: auto migrate the database when using postgresql forwarder
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f840717..b903567 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,10 @@
.PHONY: all build lint serve-doc
all: build lint test
-build:
+embed:
+ go run ./internal/cmd/memfs
+
+build: embed
go build -o ./_bin/ ./cmd/...
##---- Run all tests and generate coverage as HTML.