Skip to content

Commit

Permalink
Added a Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
David Sanders committed May 13, 2024
1 parent 7c7a8f3 commit a152520
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.PHONY: tags site-packages

run:
python manage.py runserver

tags:
ctags -R --languages=Python .

lint:
isort .
black .
flake8 .

site-packages:
export PYTHON_VERSION=$$(python -c 'import sys;print(f"{sys.version_info.major}.{sys.version_info.minor}")'); \
ln -sf .direnv/python-$$PYTHON_VERSION/lib/python$$PYTHON_VERSION/site-packages

0 comments on commit a152520

Please sign in to comment.