File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,10 +14,42 @@ go_binary(
1414 visibility = ["//visibility:public" ],
1515)
1616
17- go_library (
18- name = "cli_lib" ,
19- srcs = ["main.go" ],
20- importpath = "github.com/ewhauser/bazel-differ/cli" ,
21- visibility = ["//visibility:private" ],
22- deps = ["//cmd" ],
17+ go_binary (
18+ name = "bazel-differ-linux-amd64" ,
19+ embed = [":cli" ],
20+ goarch = "amd64" ,
21+ goos = "linux" ,
22+ pure = "on" ,
23+ static = "on" ,
24+ visibility = ["//visibility:public" ],
25+ )
26+
27+ go_binary (
28+ name = "bazel-differ-linux-arm64" ,
29+ embed = [":cli" ],
30+ goarch = "arm64" ,
31+ goos = "linux" ,
32+ pure = "on" ,
33+ static = "on" ,
34+ visibility = ["//visibility:public" ],
35+ )
36+
37+ go_binary (
38+ name = "bazel-differ-darwin-amd64" ,
39+ embed = [":cli" ],
40+ goarch = "amd64" ,
41+ goos = "darwin" ,
42+ pure = "on" ,
43+ static = "on" ,
44+ visibility = ["//visibility:public" ],
45+ )
46+
47+ go_binary (
48+ name = "bazel-differ-darwin-arm64" ,
49+ embed = [":cli" ],
50+ goarch = "arm64" ,
51+ goos = "darwin" ,
52+ pure = "on" ,
53+ static = "on" ,
54+ visibility = ["//visibility:public" ],
2355)
You can’t perform that action at this time.
0 commit comments