mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-18 04:10:22 +00:00
e5d9b68d36
Bumps the golang-dependencies group with 1 update: [golang.org/x/crypto](https://github.com/golang/crypto). Updates `golang.org/x/crypto` from 0.16.0 to 0.17.0 - [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor dependency-group: golang-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
26 lines
694 B
Makefile
26 lines
694 B
Makefile
# Project packages.
|
|
PACKAGES=$(shell go list ./...)
|
|
|
|
# Flags passed to `go test`
|
|
BUILDFLAGS ?=
|
|
TESTFLAGS ?=
|
|
|
|
.PHONY: all build test coverage
|
|
.DEFAULT: all
|
|
|
|
all: build
|
|
|
|
build: ## no binaries to build, so just check compilation suceeds
|
|
go build ${BUILDFLAGS} ./...
|
|
|
|
test: ## run tests
|
|
go test ${TESTFLAGS} ./...
|
|
|
|
coverage: ## generate coverprofiles from the unit tests
|
|
rm -f coverage.txt
|
|
go test ${TESTFLAGS} -cover -coverprofile=cover.out ./...
|
|
|
|
.PHONY: help
|
|
help:
|
|
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m\033[0m\n"} /^[a-zA-Z_\/%-]+:.*?##/ { printf " \033[36m%-27s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
|