From 30b3817bd8cae485c02c968b59021d48c188b4b9 Mon Sep 17 00:00:00 2001 From: Luiz Gustavo Menna Date: Tue, 25 Feb 2020 00:40:26 -0300 Subject: [PATCH] Fix: Refactor Makefile Replace flit for poetry fix #102 Fix: miss replace reenv for env --- Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index a65a7bc..152595d 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: test pep8 clean install build publish tree reenv +.PHONY: test pep8 clean install build publish tree env test: pep8 py.test --cov=flask_googlemaps -l --tb=short --maxfail=1 tests/ @@ -15,18 +15,16 @@ clean: @rm -rf *.egg-info install: - @pip install flit pypandoc pygments - @flit install -s + @poetry install build: - @flit build + @poetry build publish: - @flit publish + @poetry publish tree: @tree -L 1 -a -I __pycache__ --dirsfirst --noreport -reenv: - @rm -rf venv - @python3.6 -m venv venv +env: + @poetry env use 3.8