Browse Source

Add makefile

master
Johann Schmitz 5 months ago
parent
commit
25d18479e4
Signed by: ercpe <johann@j-schmitz.net> GPG Key ID: A084064277C501ED
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      Makefile

+ 16
- 0
Makefile View File

@@ -0,0 +1,16 @@
test:
PYTHONPATH="." python -m pytest tests/ -rxsw -v

compile:
@echo Compiling python code
python -O -m compileall j2exts

clean:
find -name "*.py?" -delete
rm -rf .pytests_cache */__pycache__

install_deps:
pip install -r requirements.txt
pip install -r requirements_dev.txt

all: clean compile test

Loading…
Cancel
Save