dragon-bot/Makefile
Luke Robles bc1b9096cc
All checks were successful
continuous-integration/drone/push Build is passing
Adding a banner to the /info command
2023-10-11 19:54:55 -07:00

15 lines
396 B
Makefile
Executable File

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