Skip to content

Commit

Permalink
add build reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
schallert committed Mar 21, 2019
1 parent 8f87089 commit 236ac4e
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 94 deletions.
132 changes: 56 additions & 76 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,20 @@ version = "^2.7.0"
[[override]]
name = "github.com/opentracing-contrib/go-stdlib"
revision = "77df8e8e70b403c6b13c0fffaa4867c9044ff4e9"

[[constraint]]
name = "github.com/uber-go/tally"
version = "3.3.8"

[[override]]
name = "github.com/m3db/prometheus_client_golang"
revision = "8ae269d24972b8695572fa6b2e3718b5ea82d6b4"
[[override]]
name = "github.com/m3db/prometheus_client_model"
revision = "8b2299a4bf7d7fc10835527021716d4b4a6e8700"
[[override]]
name = "github.com/m3db/prometheus_common"
revision = "25aaa3dff79bb48116615ebe1dea6a494b74ce77"
[[override]]
name = "github.com/m3db/prometheus_procfs"
revision = "1878d9fbb537119d24b21ca07effd591627cd160"
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ auto_gen := scripts/auto-gen.sh
GOMETALINT_VERSION := v2.0.5

LINUX_AMD64_ENV := GOOS=linux GOARCH=amd64 CGO_ENABLED=0
GO_BUILD_LDFLAGS_CMD := $(abspath ./.ci/go-build-ldflags.sh) $(package_root)
GO_BUILD_LDFLAGS := $(shell $(GO_BUILD_LDFLAGS_CMD))

CMDS := \
docgen \
Expand All @@ -75,7 +77,7 @@ define CMD_RULES
.PHONY: $(CMD)
$(CMD)-no-deps:
@echo "--- $(CMD)"
go build -o $(OUTPUT_DIR)/$(CMD) ./cmd/$(CMD)
$(BUILD_SETTINGS) go build -ldflags '$(GO_BUILD_LDFLAGS)' -o $(OUTPUT_DIR)/$(CMD) ./cmd/$(CMD)

$(CMD): dep-ensure $(CMD)-no-deps

Expand Down
Loading

0 comments on commit 236ac4e

Please sign in to comment.