aur/test-build.fish
Kevin Diaz a63bf816c4
Update to version 2.3.0
- Bump version from 2.2.4 to 2.3.0
- Add noctalia-shell binary wrapper for easier launching and IPC calls
- Remove redundant install file
- Add automated build/test script (test-build.fish)
- Add .gitignore to exclude build artifacts
2025-08-26 19:15:59 -04:00

40 lines
2.7 KiB
Fish
Executable file

#!/usr/bin/fish --no-config
# Complete build and test script for AUR package
echo "╔══════════════════════════════════════════════════════════╗"
echo "║ 🔄 UPDATING CHECKSUMS ║"
echo "╚══════════════════════════════════════════════════════════╝"
updpkgsums
if test $status -ne 0
echo "❌ Failed to update checksums. Exiting."
exit 1
end
echo ""
echo "╔══════════════════════════════════════════════════════════╗"
echo "║ 📄 GENERATING .SRCINFO ║"
echo "╚══════════════════════════════════════════════════════════╝"
makepkg --printsrcinfo > .SRCINFO
echo ""
echo "╔══════════════════════════════════════════════════════════╗"
echo "║ 🔨 BUILDING PACKAGE ║"
echo "╚══════════════════════════════════════════════════════════╝"
makepkg -fsi
if test $status -eq 0
echo ""
echo "╔══════════════════════════════════════════════════════════╗"
echo "║ ✅ BUILD SUCCESSFUL ║"
echo "╚══════════════════════════════════════════════════════════╝"
echo "🧹 Cleaning up build artifacts..."
rm -rf src/ pkg/ noctalia-shell/ *.pkg.tar.zst
echo "✨ Cleanup complete!"
else
echo ""
echo "╔══════════════════════════════════════════════════════════╗"
echo "║ ❌ BUILD FAILED ║"
echo "╚══════════════════════════════════════════════════════════╝"
echo "🔍 Leaving artifacts for debugging."
end