move to codeberg (#8)

This commit is contained in:
T. von Dein
2025-12-02 21:43:56 +01:00
parent a1b3fe6f25
commit 193b236b2c
39 changed files with 423 additions and 300 deletions

View File

@@ -45,8 +45,8 @@ buildlocalctl:
make -C upctl
buildlocal:
# go build -ldflags "-X 'github.com/tlinden/ephemerup/cfg.VERSION=$(VERSION)'" -o $(DAEMON)
CGO_LDFLAGS='-static' go build -tags osusergo,netgo -ldflags "-extldflags=-static -s -X 'github.com/tlinden/ephemerup/cfg.VERSION=$(VERSION)'" -o $(DAEMON)
# go build -ldflags "-X 'codeberg.org/scip/ephemerup/cfg.VERSION=$(VERSION)'" -o $(DAEMON)
CGO_LDFLAGS='-static' go build -tags osusergo,netgo -ldflags "-extldflags=-static -s -X 'codeberg.org/scip/ephemerup/cfg.VERSION=$(VERSION)'" -o $(DAEMON)
buildimage: clean
docker-compose --verbose build
@@ -77,7 +77,7 @@ test:
singletest:
@echo "Call like this: ''make singletest TEST=TestX1 MOD=lib"
go test -run $(TEST) github.com/tlinden/ephemerup/$(MOD)
go test -run $(TEST) codeberg.org/scip/ephemerup/$(MOD)
cover-report:
go test ./... -cover -coverprofile=coverage.out