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 1, 2024
1 parent 6194614 commit 2fa86a8
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,15 @@ parts:
plugin: nil
override-pull: |
apt update
apt install build-essential libssl-dev libffi-dev python3-dev cargo rustc clang
apt install build-essential libssl-dev libffi-dev python3-dev cargo clang pkg-config
install-rust:
plugin: nil
override-pull: |
if [ "$SNAP_ARCH" = "armhf" ]; then
apt-get update
apt-get -y install curl
curl https://sh.rustup.rs -sSf | sh -s -- -y
fi
certbot-dns-wedos:
plugin: python
source: .
Expand All @@ -27,6 +35,17 @@ parts:
snapcraftctl set-version `grep ^version $SNAPCRAFT_PART_SRC/setup.py | cut -f2 -d= | tr -d '"[:space:]'`
build-environment:
- SNAP_BUILD: "True"
build-packages:
- gcc
- git
- build-essential
- libffi-dev
- libssl-dev
- cargo
- clang
- pkg-config
- python3-dev
after: [install-rust, install-lib]
certbot-metadata:
plugin: dump
source: .
Expand Down

0 comments on commit 2fa86a8

Please sign in to comment.