Skip to content

Commit

Permalink
Add --no-emit-project to uv export (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazy authored Sep 17, 2024
1 parent 57220e5 commit 46bc5fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ log "Install uv Python version"
uv python install 2>&1 | indent

log "Export $REQUIREMENTS_FILE from uv"
uv export --output-file "$REQUIREMENTS_FILE" --no-dev --frozen 2>&1 | indent
uv export --output-file "$REQUIREMENTS_FILE" --no-dev --no-emit-project --frozen 2>&1 | indent

log "Export $REQUIREMENTS_TEST_FILE from uv (for Heroku CI)"
uv export --output-file "$REQUIREMENTS_TEST_FILE" --frozen 2>&1 | indent
uv export --output-file "$REQUIREMENTS_TEST_FILE" --no-emit-project --frozen 2>&1 | indent

if [ -f "$RUNTIME_FILE" ] ; then
log "$RUNTIME_FILE found, skipping $RUNTIME_FILE generation" >&2
Expand Down

0 comments on commit 46bc5fc

Please sign in to comment.