mirror of https://github.com/docker/compose.git
20 lines
378 B
Makefile
20 lines
378 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
|
|
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
|