소스 검색

👹

master
Roderic Day 5 년 전
부모
커밋
c2d6c6da17
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -1
      makefile

+ 3
- 1
makefile 파일 보기

@@ -3,7 +3,6 @@ DATA = $(shell echo $(FILE) | sed -e s/\.py/\.dat/)
PYTHONPATH=.

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

@@ -12,3 +11,6 @@ venv/: requirements.txt
python3 -m venv venv
venv/bin/pip install -r requirements.txt
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…
취소
저장