1
0
Fork 0

fix unix line endings

This commit is contained in:
Henrik Hautakoski 2026-02-19 10:37:42 +01:00
parent b53e0bb9c7
commit c955b3ee3c
24 changed files with 1044 additions and 1044 deletions

View file

@ -1,12 +1,12 @@
GO=go
VERSION=$(shell git describe --always --tags --dirty --match="v*")
GOLDFLAGS=-v -s -w -X main.version="$(VERSION)"
GOBUILDFLAGS=-v -p $(shell nproc) -ldflags="$(GOLDFLAGS)"
.PHONY: build test
build :
$(GO) build $(GOBUILDFLAGS) -o build/dnsupdater cmd/dnsupdater/main.go
test :
$(GO) test -v ./...
GO=go
VERSION=$(shell git describe --always --tags --dirty --match="v*")
GOLDFLAGS=-v -s -w -X main.version="$(VERSION)"
GOBUILDFLAGS=-v -p $(shell nproc) -ldflags="$(GOLDFLAGS)"
.PHONY: build test
build :
$(GO) build $(GOBUILDFLAGS) -o build/dnsupdater cmd/dnsupdater/main.go
test :
$(GO) test -v ./...