KAOS/code/Makefile
djuka f001c53ca1 T01: Inicijalizacija Go projekta
- go mod init github.com/dal/kaos
- Config paket sa .env učitavanjem i validacijom
- Supervisor skeleton paket
- Entry point (cmd/kaos-supervisor/main.go)
- Makefile (build, test, vet, clean, all)
- .env.example, .gitignore
- 6 config testova — svi prolaze

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 11:21:06 +00:00

20 lines
256 B
Makefile

BINARY_NAME=kaos-supervisor
BIN_DIR=bin
.PHONY: all build test vet clean
all: vet test build
build:
go build -o $(BIN_DIR)/$(BINARY_NAME) ./cmd/kaos-supervisor/
test:
go test ./... -v -count=1
vet:
go vet ./...
clean:
rm -rf $(BIN_DIR)
go clean