Files
athens/Makefile
Tobias Kohlbau 75c7e1931f make: drop cli reference (#249)
CLI was removed and so should be the dangling reference within `Makefile`.
2018-07-12 12:31:35 +02:00

35 lines
671 B
Makefile

.PHONY: build
build:
cd cmd/proxy && buffalo build
.PHONY: run
run: build
./athens
.PHONY: docs
docs:
cd docs && hugo
.PHONY: test
test:
cd cmd/proxy && buffalo test
cd cmd/olympus && buffalo test
.PHONY: olympus-docker
olympus-docker:
docker build -t gopackages/olympus -f cmd/olympus/Dockerfile .
.PHONY: dev
dev:
docker-compose -p athensdev up -d mysql
docker-compose -p athensdev up -d postgres
docker-compose -p athensdev up -d mongo
docker-compose -p athensdev up -d redis
docker-compose -p athensdev up -d minio
echo "sleeping for a bit to wait for the DB to come up"
sleep 5
.PHONY: dev-teardown
dev-teardown:
docker-compose -p athensdev down