wip ci/cd
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m13s

This commit is contained in:
2026-03-07 13:34:24 +03:00
parent f5ad5dbb16
commit 2b089c68e6
5 changed files with 48 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
BINARY_NAME=server
BINARY_NAME=main
MAIN_PACKAGE_PATH = ./cmd/main.go
.PHONY: tidy
@@ -8,12 +8,12 @@ tidy:
.PHONY: build
build:
CGO_ENABLED=0 go build -o bin/${BINARY_NAME} ${MAIN_PACKAGE_PATH}
CGO_ENABLED=0 go build -o ${BINARY_NAME} ${MAIN_PACKAGE_PATH}
# GOARCH=arm64 GOOS=darwin go build -o bin/${BINARY_NAME} ${MAIN_PACKAGE_PATH}
.PHONY: run
run: build
./bin/${BINARY_NAME}
./${BINARY_NAME}
.PHONY: gen
gen: