diff options
Diffstat (limited to 'vendor/github.com/prometheus/procfs/Makefile')
-rw-r--r-- | vendor/github.com/prometheus/procfs/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/github.com/prometheus/procfs/Makefile b/vendor/github.com/prometheus/procfs/Makefile index 5c8f72625..4d1098394 100644 --- a/vendor/github.com/prometheus/procfs/Makefile +++ b/vendor/github.com/prometheus/procfs/Makefile @@ -59,6 +59,12 @@ staticcheck: $(STATICCHECK) ./ttar -C $(dir $*) -x -f $*.ttar touch $@ +update_fixtures: fixtures.ttar sysfs/fixtures.ttar + +%fixtures.ttar: %/fixtures + rm -v $(dir $*)fixtures/.unpacked + ./ttar -C $(dir $*) -c -f $*fixtures.ttar fixtures/ + $(FIRST_GOPATH)/bin/staticcheck: @GOOS= GOARCH= $(GO) get -u honnef.co/go/tools/cmd/staticcheck |