Use github.com/mattn/go-sqlite3 instead of modernc.org/sqlite

Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
2025-12-27 19:01:18 -03:00
parent 2d5f0a5927
commit 3d4f07ad38
4 changed files with 13 additions and 46 deletions

View File

@@ -1,8 +1,16 @@
BINARY=gatus
GO=go
PREFIX=/usr/local
.PHONY: build
build:
env CGO_ENABLED=1 ${GO} build -v -o $(BINARY)
.PHONY: install
install:
go build -v -o $(BINARY) .
install -m0755 $(BINARY) $(DESTDIR)$(PREFIX)/bin/$(BINARY)
install -m0644 config.yaml $(DESTDIR)$(PREFIX)/etc/gatus.yml
.PHONY: run
run: