Merge branch 'package-deb' into dev
This commit is contained in:
commit
cbf34e0e53
|
@ -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"]
|
|
@ -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"
|
Loading…
Reference in New Issue
Block a user