Skip to content

Commit

Permalink
Merge pull request #204 from mdujava/forceforpoetry
Browse files Browse the repository at this point in the history
Run poetry install when force has any value
  • Loading branch information
pehala authored May 3, 2023
2 parents cdd1e32 + 04b3123 commit e19b463
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ poetry.lock: pyproject.toml
poetry lock

.make-poetry-sync: poetry.lock
@if ! poetry env list | grep ^; then poetry install --sync --no-root; fi
@if [ -z "$(poetry env list)" -o -n "${force}" ]; then poetry install --sync --no-root; fi
@ touch .make-poetry-sync .make-poetry-sync-no-dev

.make-poetry-sync-no-dev: poetry.lock
@if ! poetry env list | grep ^; then poetry install --sync --no-root --without dev; fi
@if [ -z "$(poetry env list)" -o -n "${force}" ]; then poetry install --sync --no-root --without dev; fi
@ touch .make-poetry-sync-no-dev


Expand Down

0 comments on commit e19b463

Please sign in to comment.