-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bood
More file actions
67 lines (63 loc) · 1.49 KB
/
build.bood
File metadata and controls
67 lines (63 loc) · 1.49 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
go_tested_binary {
name: "server",
pkg: "github.com/MaryLynJuana/KPI_Load_Balancer/cmd/server",
srcs: [
"httptools/**/*.go",
"signal/**/*.go",
"cmd/server/*.go"
],
srcsExclude: ["**/*_test.go"],
testPkg: "./cmd/server",
testSrcs: ["cmd/server/*_test.go"]
}
go_tested_binary {
name: "lb",
pkg: "github.com/MaryLynJuana/KPI_Load_Balancer/cmd/lb",
srcs: [
"httptools/**/*.go",
"signal/**/*.go",
"cmd/lb/*.go"
],
srcsExclude: ["**/*_test.go"],
testPkg: "./cmd/lb",
testSrcs: ["cmd/lb/*_test.go"]
// TODO: Додайте запуск тестів для балансувальника.
}
go_tested_binary {
name: "db",
pkg: "github.com/MaryLynJuana/KPI_Load_Balancer/cmd/db",
srcs: [
"httptools/**/*.go",
"signal/**/*.go",
"cmd/db/*.go"
],
srcsExclude: ["**/*_test.go"],
testPkg: "./cmd/db",
testSrcs: ["cmd/db/*_test.go"]
}
go_tested_binary {
name: "client",
pkg: "github.com/MaryLynJuana/KPI_Load_Balancer/cmd/client",
srcs: [
"httptools/**/*.go",
"signal/**/*.go",
"cmd/client/*.go"
],
srcsExclude: ["**/*_test.go"],
testPkg: "./cmd/client",
testSrcs: ["cmd/client/*_test.go"]
}
go_tested_binary {
name: "integration-tests",
pkg: "github.com/MaryLynJuana/KPI_Load_Balancer/integration",
srcs: [
"httptools/**/*.go",
"signal/**/*.go",
"cmd/lb/*.go",
"cmd/server/*.go"
],
srcsExclude: ["**/*_test.go"],
testPkg: "./integration",
testSrcs: ["integration/*_test.go"],
optional: true
}