From 19030f5d71850913bae6159400743241c2f04385 Mon Sep 17 00:00:00 2001 From: Joshua Gilman Date: Wed, 1 Nov 2023 14:53:46 -0700 Subject: [PATCH] wip: fixes fragment-exporter Earthfile --- utilities/fragment-exporter/Earthfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utilities/fragment-exporter/Earthfile b/utilities/fragment-exporter/Earthfile index 93634cf8c1..ce53e47a1c 100644 --- a/utilities/fragment-exporter/Earthfile +++ b/utilities/fragment-exporter/Earthfile @@ -1,3 +1,4 @@ +# Set the Earthly version to 0.7 VERSION 0.7 deps: @@ -16,7 +17,6 @@ deps: COPY poetry.lock . RUN poetry install --only main --no-root - RUN poetry install --only dev --no-root src: FROM +deps @@ -26,11 +26,12 @@ src: check: FROM +src + RUN poetry install --only dev RUN poetry run black --check . RUN poetry run ruff check . build: - FROM +src + FROM +check RUN poetry export --without-hashes -f requirements.txt --output requirements.txt RUN poetry build --no-cache -f wheel