Merge branch 'package-deb' into dev

This commit is contained in:
Federico Terzi 2020-01-26 22:16:43 +01:00
commit cbf34e0e53
2 changed files with 16 additions and 2 deletions

View File

@ -38,4 +38,10 @@ libc = "0.2.62"
zip = "0.5.3"
[build-dependencies]
cmake = "0.1.31"
cmake = "0.1.31"
[package.metadata.deb]
maintainer = "Federico Terzi <federicoterzi96@gmail.com>"
depends = "$auto, systemd, libxtst6, libxdo3, xclip, libnotify-bin"
section = "utility"
license-file = ["LICENSE", "1"]

View File

@ -7,4 +7,12 @@ steps:
cp target/release/espanso-*.gz .
sha256sum espanso-*.gz | awk '{ print $1 }' > espanso-linux-sha256.txt
ls -la
displayName: "Cargo build and packaging for Linux"
displayName: "Cargo build and packaging for Linux"
- script: |
cargo install cargo-deb
cargo deb
cp target/release/debian/espanso*amd64.deb espanso-debian-amd64.deb
sha256sum espanso-*amd64.deb | awk '{ print $1 }' > espanso-debian-amd64-sha256.txt
ls -la
displayName: "Packaging deb package"