Skip to content

Commit

Permalink
wip: fixes fragment-exporter Earthfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman committed Nov 1, 2023
1 parent 5f76a2a commit 19030f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utilities/fragment-exporter/Earthfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Set the Earthly version to 0.7
VERSION 0.7

deps:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 19030f5

Please sign in to comment.