blob: f1a0fa550cfad35dc3efcad368d09098a6744f56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
build:
@./build.sh
all:
@./build.sh all
clean:
rm -rf rr
install: all
cp rr /usr/local/bin/rr
uninstall:
rm -f /usr/local/bin/rr
test:
go mod vendor
composer update
go test -v -race -cover
go test -v -race -cover ./util
go test -v -race -cover ./service
go test -v -race -cover ./service/env
go test -v -race -cover ./service/rpc
go test -v -race -cover ./service/http
go test -v -race -cover ./service/static
go test -v -race -cover ./service/limit
go test -v -race -cover ./service/headers
go test -v -race -cover ./service/metrics
go test -v -race -cover ./service/health
go test -v -race -cover ./service/gzip
go test -v -race -cover ./service/reload
lint:
go fmt ./...
golint ./...
|