summaryrefslogtreecommitdiff
path: root/Makefile
blob: d96a21aa00b7c8450b468e71f73d0f584b5a67a3 (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
all:
	@./build.sh
	@./build-ce.sh
build:
	@./build.sh all
build-ce:
	@./build-ce.sh all
clean:
	rm -rf rr
	rm -rf rr-ce
install: all
	cp rr /usr/local/bin/rr
	cp rr-ce /usr/local/bin/rr-ce
uninstall: 
	rm -f /usr/local/bin/rr
	rm -f /usr/local/bin/rr-ce
test:
	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