Skip to content

Commit

Permalink
feat(snapcraft.yaml): ...
Browse files Browse the repository at this point in the history
  • Loading branch information
clazzor authored Jul 2, 2024
1 parent cf1948e commit f83299c
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ architectures:
- build-on: armhf

parts:
install-dependencies:
plugin: nil
override-pull: |
if [ "$SNAP_ARCH" = "armhf" ]; then
apt update
apt -y install libffi-dev libssl-dev cargo pkg-config
fi
certbot-dns-wedos:
plugin: python
source: .
Expand All @@ -27,11 +34,12 @@ parts:
snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d '"[:space:]'`
build-environment:
- SNAP_BUILD: "True"
build-packages:
- libffi-dev
- libssl-dev
- cargo
# build-packages:
# - libffi-dev
# - libssl-dev
# - cargo
# - pkg-config
after: [install-dependencies]
certbot-metadata:
plugin: dump
source: .
Expand Down

0 comments on commit f83299c

Please sign in to comment.