39 lines
1.0 KiB
Bash
Executable File
39 lines
1.0 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# This script cleans up unnecessary files from the repository
|
|
|
|
echo "=== Cleaning up repository ==="
|
|
|
|
# Remove redundant Nextcloud fix scripts
|
|
echo "Removing redundant Nextcloud fix scripts..."
|
|
rm -f fix-nextcloud-trusted-domains.sh
|
|
rm -f fix-nextcloud-domains.sh
|
|
rm -f fix-nextcloud.sh
|
|
|
|
# Remove build cache
|
|
echo "Removing build cache..."
|
|
rm -rf .parcel-cache
|
|
|
|
# Remove unused configuration files
|
|
echo "Removing unused configuration files..."
|
|
rm -f boilerhaus.org.conf.new
|
|
|
|
# Clean up build artifacts
|
|
echo "Cleaning up build artifacts..."
|
|
rm -rf dist
|
|
|
|
# Add the changes to git
|
|
echo "Adding changes to git..."
|
|
git add -A
|
|
|
|
echo "=== Cleanup complete ==="
|
|
echo "The following files have been removed:"
|
|
echo "- fix-nextcloud-trusted-domains.sh"
|
|
echo "- fix-nextcloud-domains.sh"
|
|
echo "- fix-nextcloud.sh"
|
|
echo "- .parcel-cache/ directory"
|
|
echo "- boilerhaus.org.conf.new"
|
|
echo "- dist/ directory"
|
|
echo ""
|
|
echo "To commit these changes, run:"
|
|
echo "git commit -m \"Clean up repository by removing unnecessary files\"" |