Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. # Copyright 2018 The Prometheus Authors
  2. # Licensed under the Apache License, Version 2.0 (the "License");
  3. # you may not use this file except in compliance with the License.
  4. # You may obtain a copy of the License at
  5. #
  6. # http://www.apache.org/licenses/LICENSE-2.0
  7. #
  8. # Unless required by applicable law or agreed to in writing, software
  9. # distributed under the License is distributed on an "AS IS" BASIS,
  10. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. # See the License for the specific language governing permissions and
  12. # limitations under the License.
  13. include Makefile.common
  14. # http.CloseNotifier is deprecated but we don't want to remove support
  15. # from client_golang to not break anybody still using it.
  16. STATICCHECK_IGNORE = \
  17. github.com/prometheus/client_golang/prometheus/promhttp/delegator*.go:SA1019 \
  18. github.com/prometheus/client_golang/prometheus/promhttp/instrument_server_test.go:SA1019 \
  19. github.com/prometheus/client_golang/prometheus/http.go:SA1019
  20. .PHONY: get_dep
  21. get_dep:
  22. @echo ">> getting dependencies"
  23. $(GO) get -t ./...
  24. .PHONY: test
  25. test: get_dep common-test
  26. .PHONY: test-short
  27. test-short: get_dep common-test-short