mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Remove @ from Makefiles.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
26
Makefile
26
Makefile
@@ -1,49 +1,47 @@
|
||||
#
|
||||
# github.com/docker/cli
|
||||
#
|
||||
|
||||
all: binary
|
||||
|
||||
# remove build artifacts
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@rm -rf ./build/* cli/winresources/rsrc_*
|
||||
rm -rf ./build/* cli/winresources/rsrc_*
|
||||
|
||||
# run go test
|
||||
# the "-tags daemon" part is temporary
|
||||
.PHONY: test
|
||||
test:
|
||||
@go test -tags daemon -v $(shell go list ./... | grep -v /vendor/)
|
||||
go test -tags daemon -v $(shell go list ./... | grep -v /vendor/)
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
@gometalinter --config gometalinter.json ./...
|
||||
gometalinter --config gometalinter.json ./...
|
||||
|
||||
.PHONY: binary
|
||||
binary:
|
||||
@./scripts/build/binary
|
||||
@echo "WARNING: binary creates a Linux executable. Use cross for macOS or Windows."
|
||||
./scripts/build/binary
|
||||
|
||||
# build the CLI for multiple architectures
|
||||
.PHONY: cross
|
||||
cross:
|
||||
@./scripts/build/cross
|
||||
./scripts/build/cross
|
||||
|
||||
.PHONY: dynbinary
|
||||
dynbinary:
|
||||
@./scripts/build/dynbinary
|
||||
./scripts/build/dynbinary
|
||||
|
||||
.PHONY: watch
|
||||
watch:
|
||||
@./scripts/test/watch
|
||||
./scripts/test/watch
|
||||
|
||||
# download dependencies (vendor/) listed in vendor.conf
|
||||
.PHONY: vendor
|
||||
# Check vendor matches vendor.conf
|
||||
vendor: vendor.conf
|
||||
@vndr 2> /dev/null
|
||||
@scripts/validate/check-git-diff vendor
|
||||
vndr 2> /dev/null
|
||||
scripts/validate/check-git-diff vendor
|
||||
|
||||
cli/compose/schema/bindata.go: cli/compose/schema/data/*.json
|
||||
go generate github.com/docker/cli/cli/compose/schema
|
||||
|
||||
compose-jsonschema: cli/compose/schema/bindata.go
|
||||
@scripts/validate/check-git-diff cli/compose/schema/bindata.go
|
||||
scripts/validate/check-git-diff cli/compose/schema/bindata.go
|
||||
|
||||
Reference in New Issue
Block a user