Skip to content

Commit

Permalink
Update Makefile for Poetry 2.0.0+ compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyphreak committed Jan 21, 2025
1 parent 6603010 commit e9c49ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
MOLECULE_SCENARIO ?= install
MOLECULE_DOCKER_IMAGE ?= ubuntu2004
GALAXY_API_KEY ?=
GITHUB_REPOSITORY ?= $$(git config --get remote.origin.url | cut -d: -f 2 | cut -d. -f 1)
GITHUB_REPOSITORY ?= $$(git config --get remote.origin.url | cut -d':' -f 2 | cut -d. -f 1)
GITHUB_ORG = $$(echo ${GITHUB_REPOSITORY} | cut -d/ -f 1)
GITHUB_REPO = $$(echo ${GITHUB_REPOSITORY} | cut -d/ -f 2)
REQUIREMENTS = requirements.yml
Expand All @@ -15,6 +15,7 @@ test: lint

poetry:
@type poetry >/dev/null || pip3 install poetry
@poetry self add poetry-plugin-export
@poetry install --no-root

lint: poetry
Expand Down Expand Up @@ -43,4 +44,4 @@ version:
@poetry run molecule --version

debug: version
@poetry export --dev --without-hashes
@poetry export --dev --without-hashes || exit 0

0 comments on commit e9c49ea

Please sign in to comment.