Skip to content

Instantly share code, notes, and snippets.

@Nikoloutsos
Created November 16, 2023 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nikoloutsos/aeb95748b818161cc94ac86b8eed8e4b to your computer and use it in GitHub Desktop.
Save Nikoloutsos/aeb95748b818161cc94ac86b8eed8e4b to your computer and use it in GitHub Desktop.
delete all .build from spms
#!/bin/bash
# Author: Konstantinos Nikoloutsos
# Delete all .build files from SPMs
spms_path="./SwiftPackages"
for dir in "$spms_path"/*/; do
echo "Deleting: $dir/.build"
rm -rf "$dir/.build"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment