diff --git a/.gitignore b/.gitignore index bf38d7cc..2d9272be 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ __pycache__ *env *conflict* *syncthing* +.env diff --git a/Makefile b/Makefile index c90a8cb0..ed60282c 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ +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 - rm -vr app/__pycache__ app/cogs/__pycache__ -discord_token := "MzQ1MjkwMTI5OTQ4Mjc4Nzg0.G16mG8.vxgQLwnbusG9fSlXvAFV0wTUmRsJJlPnQ3bpco" DRAGON_ENV := "test" test: clean format docker run -ti -v ${PWD}/app:/app --rm --name dragon-bot-test -e DRAGON_ENV=${DRAGON_ENV} -e discord_token=${discord_token} dragon-bot-test bash \ No newline at end of file