mirror of
https://github.com/hanzoai/telemetry.git
synced 2026-10-30 20:01:49 +00:00
15 lines
543 B
Makefile
15 lines
543 B
Makefile
include ../../Makefile.Common
|
|
|
|
.PHONY: ocb
|
|
ocb:
|
|
CGO_ENABLED=0 $(GOCMD) build -trimpath -o ../../bin/ocb_$(GOOS)_$(GOARCH) .
|
|
|
|
# Generate the default build config from otelcorecol, by removing the
|
|
# "replaces" stanza, which is assumed to be at the end of the file.
|
|
#
|
|
# The default config file is checked in so that `go install` will work
|
|
# and so that non-unix builds don't need sed to be installed.
|
|
.PHONY: config
|
|
config: internal/config/default.yaml
|
|
sed '-e/replaces:/,$$d' <../otelcorecol/builder-config.yaml > internal/config/default.yaml
|