termscp/dist/deb.sh
ChristianVisintin d0d19250b6 Dist deb, rpm
2020-12-06 12:32:53 +01:00

12 lines
210 B
Bash
Executable file

#!/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 $?