compose/ecs/Makefile
Chad Metcalf 3bc5fc129e
Create the plugin directory if it doesn't exist.
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-08-17 21:25:57 +02:00

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