提交 94efd798 编写于 作者: E Evan Lezar

Correct package name

Signed-off-by: NEvan Lezar <elezar@nvidia.com>
上级 7cba92a8
......@@ -22,17 +22,17 @@ PKG_REV := 1
TOOLKIT_VERSION := 1.4.2
GOLANG_VERSION := 1.16.3
GOLANG_PKG_PATH := github.com/NVIDIA/container-runtime/cmd
MODULE := .
# By default run all native docker-based targets
docker-native:
include $(CURDIR)/docker/docker.mk
binary:
go build -ldflags "-s -w" -o "$(LIB_NAME)" $(GOLANG_PKG_PATH)
go build -ldflags "-s -w" -o "$(LIB_NAME)" $(MODULE)/cmd/...
build:
@go build -o $(LIB_NAME) $(GOLANG_PKG_PATH)
@go build -o $(LIB_NAME) $(MODULE)/...
# Define the check targets for the Golang codebase
MODULE := .
......@@ -58,7 +58,7 @@ ineffassign:
ineffassign $(MODULE)/...
lint:
# We use `go list -f '{{.Dir}}' $(GOLANG_PKG_PATH)/...` to skip the `vendor` folder.
# We use `go list -f '{{.Dir}}' $(MODULE)/...` to skip the `vendor` folder.
go list -f '{{.Dir}}' $(MODULE)/... | xargs golint -set_exit_status
misspell:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册