warcat/build_deb.sh

12 lines
210 B
Bash
Executable File

#!/bin/bash
set -e
apt update
apt install -y dpkg-dev curl cmake
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
cd /warcat
cargo install cargo-deb
cargo deb