first commit
Go quality gates / test (push) Waiting to run

This commit is contained in:
Mateusz Gruszczyński committed 2026-11-30 11:37:40 +01:00
commit 8c4d463f1e
96 files changed
+3319

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
GO ?= go
VERSION ?= 0.1.0
GOARCH ?= amd64
ARCH ?= all
.PHONY: test vet build deb docker-deb clean
test:
GOPROXY=off GOTOOLCHAIN=local $(GO) test -count=1 ./...
vet:
GOPROXY=off GOTOOLCHAIN=local $(GO) vet ./...
build:
mkdir -p bin
GOPROXY=off GOTOOLCHAIN=local $(GO) build -trimpath -ldflags "-X main.version=$(VERSION)" -o bin/easydns-ui ./cmd/easydns-ui
deb:
GOARCH=$(GOARCH) VERSION=$(VERSION) ./scripts/build-deb.sh
docker-deb:
./scripts/build_deb.sh --arch $(ARCH) --version $(VERSION)
clean:
rm -rf bin dist