16 lines
443 B
Bash
Executable File
16 lines
443 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "compiling ferrisfind..."
|
|
if cargo build --release; then
|
|
echo "ferrisfind compiled successfully!"
|
|
echo "copying binary to your path..."
|
|
echo "this will require sudo privileges"
|
|
if sudo cp ./target/release/ferrisfind /usr/bin; then
|
|
echo "install complete!"
|
|
else
|
|
echo "error copying binary!"
|
|
fi
|
|
else
|
|
echo "error compiling biary! make sure rust and cargo are installed and setup!"
|
|
fi
|