1
0
mirror of https://github.com/tonarino/innernet.git synced 2025-01-24 05:16:32 +02:00
innernet/deb/package.sh

16 lines
262 B
Bash
Raw Normal View History

2021-03-30 02:22:14 +09: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