24 lines
616 B
Bash
Executable File
24 lines
616 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "Installing cargo-deb"
|
|
cargo install cargo-deb
|
|
|
|
cd espanso
|
|
|
|
echo "Building X11 deb package"
|
|
cargo deb -p espanso
|
|
|
|
echo "Building Wayland deb package"
|
|
cargo deb -p espanso --variant wayland -- --features wayland
|
|
|
|
cp espanso/target/debian/espanso_*.deb espanso-debian-x11-amd64.deb
|
|
sha256sum espanso-debian-x11-amd64.deb > espanso-debian-x11-amd64-sha256.txt
|
|
cp espanso/target/debian/espanso-wayland*.deb espanso-debian-wayland-amd64.deb
|
|
sha256sum espanso-debian-wayland-amd64.deb > espanso-debian-wayland-amd64-sha256.txt
|
|
ls -la
|
|
|
|
echo "Copying to mounted volume"
|
|
cp espanso-debian-* /shared
|