16 lines
298 B
Bash
16 lines
298 B
Bash
#!/bin/bash
|
|
|
|
# Media Viewer Build Script
|
|
# Builds and runs the media viewer application
|
|
|
|
echo "Building Media Viewer..."
|
|
cargo build --release
|
|
|
|
if [ $? -eq 0 ]; then
|
|
echo "Build successful!"
|
|
echo "To run the application:"
|
|
echo " cargo run"
|
|
else
|
|
echo "Build failed!"
|
|
exit 1
|
|
fi |