forked from kubernetes-retired/kpng
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodd.conf.template
30 lines (22 loc) · 1.08 KB
/
modd.conf.template
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
modd.conf {}
api/**/*.proto {
prep: protoc -I ./ --go_out=paths=source_relative:. --go-grpc_out=paths=source_relative:. $(find -name '*.proto')
}
api/** { prep: "cd api && go test ./..." }
client/** { prep: "cd client && go test ./..." }
server/** { prep: "cd server && go test ./..." }
cmd/** { prep: "cd cmd && go test ./..." }
backends/iptables/** { prep: "cd backends/iptables && go test ./..." }
backends/ipvs/** { prep: "cd backends/ipvs && go test ./..." }
backends/ipvs-as-sink/** { prep: "cd backends/ipvs-as-sink && go test ./..." }
backends/nft/** { prep: "cd backends/nft && go test ./..." }
**/*.go */go.mod */go.sum {
prep: mkdir -p dist
prep: cd cmd && go build -trimpath -o ../dist ./...
prep: mkdir -p dist/examples
prep: cd examples && go build -trimpath -o ../dist/examples ./...
}
#dist/kpng {
# daemon: dist/kpng kube to-api --listen tcp://[::1]:12090
# daemon: dist/kpng kube --service-proxy-name=other-proxy to-api --listen tcp://[::1]:12091
#}