- Move build output from `./srs-proxy` to `bin/srs-proxy` following Go project conventions, updating Makefile, .gitignore, and all documentation references - Replace third-party `godotenv` dependency with a custom `.env` parser that supports comments, `export` prefix, quoted values, escape sequences, and inline comments — with full unit tests - Remove `ignore-worklog.md` and update `README.md` with skill-based AI prompts - Bump copyright year from 2025 to 2026 across all source files --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
25 lines
389 B
Makefile
25 lines
389 B
Makefile
.PHONY: all build test fmt clean run
|
|
|
|
all: build
|
|
|
|
build: fmt bin/srs-proxy
|
|
|
|
bin/srs-proxy: cmd/proxy/*.go internal/**/*.go
|
|
@mkdir -p bin
|
|
go build -o bin/srs-proxy ./cmd/proxy
|
|
|
|
test:
|
|
go test ./...
|
|
|
|
fmt: ./.go-formarted
|
|
|
|
./.go-formarted: cmd/proxy/*.go internal/**/*.go
|
|
touch .go-formarted
|
|
go fmt ./cmd/... ./internal/...
|
|
|
|
clean:
|
|
rm -rf bin .go-formarted
|
|
|
|
run: fmt
|
|
go run ./cmd/proxy
|