Skip to content

Commit

Permalink
Use Poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
vuilleumierc committed Aug 21, 2024
1 parent c69fe81 commit d808fcd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
VENV_PATH ?= $(shell poetry env info --path)

.PHONY: help
help: ## Display this help message
@echo "Usage: make <target>"
Expand All @@ -8,8 +10,9 @@ help: ## Display this help message

.PHONY: install
install: ## Install package
pip install .
poetry install
. $(VENV_PATH)/bin/activate

.PHONY: tests
tests: ## Run unit tests
pytest -vvv tests
python -m pytest -vvv tests

0 comments on commit d808fcd

Please sign in to comment.