Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library") |
| 2 | |
| 3 | go_library( |
| 4 | name = "go_default_library", |
Sergiusz Bazanski | 1affad4 | 2019-04-06 01:21:04 +0200 | [diff] [blame] | 5 | srcs = [ |
| 6 | "load.go", |
| 7 | "statusz.go", |
| 8 | ], |
Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 9 | importpath = "code.hackerspace.pl/hscloud/go/statusz", |
| 10 | visibility = ["//visibility:public"], |
| 11 | deps = [ |
| 12 | "@com_github_golang_glog//:go_default_library", |
| 13 | "@com_github_shirou_gopsutil//load:go_default_library", |
| 14 | ], |
Sergiusz Bazanski | 8fe651b | 2019-07-21 23:50:05 +0200 | [diff] [blame] | 15 | x_defs = { |
| 16 | "code.hackerspace.pl/hscloud/go/statusz.GitCommit": "{STABLE_GIT_COMMIT}", |
| 17 | "code.hackerspace.pl/hscloud/go/statusz.GitVersion": "{STABLE_GIT_VERSION}", |
| 18 | "code.hackerspace.pl/hscloud/go/statusz.Builder": "{STABLE_BUILDER}", |
| 19 | "code.hackerspace.pl/hscloud/go/statusz.BuildTimestamp": "{BUILD_TIMESTAMP}", |
| 20 | }, |
Sergiusz Bazanski | 9dc4b68 | 2019-04-05 23:51:49 +0200 | [diff] [blame] | 21 | ) |