feat: enhance logging and refactor database handling
All checks were successful
release / build (amd64, linux) (push) Successful in 1m32s

This commit is contained in:
peio
2026-01-23 17:54:15 +00:00
parent 41f6a63687
commit 57966de4fa
14 changed files with 222 additions and 92 deletions

View File

@@ -4,11 +4,8 @@ BIN_DIR := bin
.PHONY: build run test tidy clean install
build:
export CGO_ENABLED=0
go build \
-trimpath \
-ldflags="-s -w" \
-o "$(BIN_DIR)/$(BINARY)" ./cmd/$(BINARY)
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 \
go build -trimpath -ldflags="-s -w" -o bin/mailcloak ./cmd/mailcloak
run:
go run ./cmd/$(BINARY)