mirror of https://github.com/docker/compose.git
21 lines
412 B
Makefile
21 lines
412 B
Makefile
clean:
|
|
rm -rf dist/
|
|
|
|
build:
|
|
go build -v -o dist/docker-ecs cmd/main/main.go
|
|
|
|
test: build ## Run tests
|
|
go test ./... -v
|
|
|
|
e2e: build ## Run tests
|
|
go test ./... -v -tags=e2e
|
|
|
|
dev: build
|
|
@mkdir -p ~/.docker/cli-plugins/
|
|
ln -f -s "${PWD}/dist/docker-ecs" "${HOME}/.docker/cli-plugins/docker-ecs"
|
|
|
|
lint: ## Verify Go files
|
|
golangci-lint run --config ./golangci.yaml ./...
|
|
|
|
.PHONY: clean build test dev lint e2e
|