blob: 4434b95ad6f0305bebea61a2ad28a059b4c68fa4 [file] [log] [blame]
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +02001load("@io_bazel_rules_go//go:def.bzl", "go_library")
2
3go_library(
4 name = "go_default_library",
Sergiusz Bazanski1affad42019-04-06 01:21:04 +02005 srcs = [
6 "load.go",
7 "statusz.go",
8 ],
Sergiusz Bazanski9dc4b682019-04-05 23:51:49 +02009 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 Bazanski8fe651b2019-07-21 23:50:05 +020015 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 Bazanski9dc4b682019-04-05 23:51:49 +020021)