srs/proxy/Makefile
winlin 4c39d2b8e8 Move proxy from ossrs/proxy repo to proxy directory
Move the SRS proxy server code from the standalone repository
https://github.com/ossrs/proxy into the proxy/ directory of the
main SRS repo. Also update build instructions in origin-cluster.md.
2026-02-15 09:48:27 -05:00

24 lines
364 B
Makefile

.PHONY: all build test fmt clean run
all: build
build: fmt ./srs-proxy
./srs-proxy: cmd/proxy-go/*.go internal/**/*.go
go build -o srs-proxy ./cmd/proxy-go
test:
go test ./...
fmt: ./.go-formarted
./.go-formarted: cmd/proxy-go/*.go internal/**/*.go
touch .go-formarted
go fmt ./...
clean:
rm -f srs-proxy .go-formarted
run: fmt
go run ./cmd/proxy-go