Add dependencies for prometheus client.

This commit is contained in:
Hendrik van Wyk
2017-09-13 21:35:33 +02:00
parent 0c04eab1c1
commit b4a7a6984d
411 changed files with 90236 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
VENDOR_BUNDLE = vendor/bundle
build: $(VENDOR_BUNDLE)/.bundled
BEEFCAKE_NAMESPACE=Prometheus::Client protoc --beefcake_out lib/prometheus/client/model -I .. ../metrics.proto
$(VENDOR_BUNDLE):
mkdir -p $@
$(VENDOR_BUNDLE)/.bundled: $(VENDOR_BUNDLE) Gemfile
bundle install --quiet --path $<
@touch $@
clean:
-rm -f lib/prometheus/client/model/metrics.pb.rb
-rm -rf $(VENDOR_BUNDLE)
.PHONY: build clean