Files
atlantis/e2e/Makefile
Luke Kysow 781ded10b4 Output logs on e2e failures.
Also disable the make test step because there are no unit tests in the
e2e directory (as expected).
2018-11-30 10:10:53 -06:00

24 lines
544 B
Makefile

WORKSPACE := $(shell pwd)
.PHONY: test
.DEFAULT_GOAL := help
help: ## List targets & descriptions
@cat Makefile* | grep -E '^[a-zA-Z_-]+:.*?## .*$$' | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
debug: ## Output internal make variables
@echo WORKSPACE = $(WORKSPACE)
deps: ## Get go dependencies
go get -v .
build: ## Build the main Go service
rm -f atlantis-tests
go build -v -o atlantis-tests .
deps-test: ## Run tests for go dependencies
go get -t
run: ## Run e2e tests
./atlantis-tests