Skip to content

Commit

Permalink
Made snap build much smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
julianneswinoga committed Sep 29, 2023
1 parent c2447d7 commit 0e2282e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ parts:
tracex-parser:
plugin: python
source: .
python-packages:
- poetry
override-build: |
craftctl default
git clean -d --force --force -x
poetry build --no-ansi --no-interaction
python3 -m venv .venv
./.venv/bin/python3 -m pip install poetry
./.venv/bin/poetry build --no-ansi --no-interaction
python3 -m pip install ./dist/tracex_parser-*.whl
VERSION=$(echo ./dist/*.whl | cut -d- -f2)
craftctl set version=${VERSION}
craftctl set version=$(echo ./dist/*.whl | cut -d- -f2)
apps:
parse-trx:
Expand Down

0 comments on commit 0e2282e

Please sign in to comment.