File: 01-Use_go_generate.patch

package info (click to toggle)
golang-github-prometheus-client-model 0.0.2%2Bgit20171117.99fa1f4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, buster-backports, buster-backports-sloppy, stretch-backports
  • size: 656 kB
  • sloc: xml: 122; ruby: 97; makefile: 48; python: 21
file content (9 lines) | stat: -rw-r--r-- 311 bytes parent folder | download
1
2
3
4
5
6
7
8
9
Description: Use go generate to avoid depending on special make rules in
    debian/rules; this allows the CI pipeline in salsa to test the package
    properly.
--- /dev/null
+++ b/go/generate.go
@@ -0,0 +1,3 @@
+package io_prometheus_client
+
+//go:generate protoc --proto_path=.. --go_out=. ../metrics.proto