Browse Source

👹

master
Roderic Day 5 years ago
parent
commit
c2d6c6da17
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      makefile

+ 3
- 1
makefile View File

PYTHONPATH=. PYTHONPATH=.


main: venv/ main: venv/
# @venv/bin/flake8 --exclude=venv/
@touch $(DATA) @touch $(DATA)
@cat $(DATA) | venv/bin/python -u $(FILE) @cat $(DATA) | venv/bin/python -u $(FILE)


python3 -m venv venv python3 -m venv venv
venv/bin/pip install -r requirements.txt venv/bin/pip install -r requirements.txt
touch requirements.txt venv/ touch requirements.txt venv/
# install flake8 git hook
echo 'venv/bin/flake8 --exclude=venv/' > .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit

Loading…
Cancel
Save