dragon-bot/Makefile
Luke Robles c50d2d75c2
All checks were successful
continuous-integration/drone/push Build is passing
Add a print just so i can catch this in the future
2023-11-02 14:54:33 -07:00

15 lines
396 B
Makefile

include .env
format:
docker run --rm -ti -v ${PWD}:/tmp/python/app python:alpine sh -c "cd /tmp/python; pip install -q black; black ."
clean:
docker rm -f dragon-bot-test
build-test:
docker build -f ./Dockerfile-test-env -t dragon-bot-test .
DRAGON_ENV := "test"
test: format build-test
docker run -ti -v ${PWD}/app:/app --rm --name dragon-bot-test --env-file=./.env dragon-bot-test bash