termscp/dist/deb.sh

12 lines
210 B
Bash
Raw Normal View History

2020-12-06 12:32:53 +01:00
#!/bin/bash
echo "Installing cargo-deb..."
cargo install cargo-deb
if [ ! -f "Cargo.toml" ]; then
echo "Yout must be in the project root directory"
exit 1
fi
echo "Running cargo-deb"
cargo deb
exit $?