innernet/deb/package.sh

16 lines
262 B
Bash
Raw Normal View History

2021-03-29 17:22:14 +00:00
#!/usr/bin/env bash
set -e
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
cd $SCRIPT_DIR/../client
if ! cargo install --list | grep cargo-deb > /dev/null; then
cargo install cargo-deb
fi
set -x
cargo build --release
cargo deb --package client --no-build