-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathclean.sh
More file actions
executable file
·35 lines (28 loc) · 769 Bytes
/
clean.sh
File metadata and controls
executable file
·35 lines (28 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
# Clean build script - removes all build artifacts and caches
echo "Cleaning build artifacts and caches..."
echo "====================================="
# Remove local build directory
if [ -d ".build" ]; then
echo "Removing .build directory..."
rm -rf .build
fi
# Remove .swiftpm directory
if [ -d ".swiftpm" ]; then
echo "Removing .swiftpm directory..."
rm -rf .swiftpm
fi
# Remove Package.resolved if it exists
if [ -f "Package.resolved" ]; then
echo "Removing Package.resolved..."
rm -f Package.resolved
fi
# Remove any symlinks
if [ -L "claude-command-runner" ]; then
echo "Removing symlink..."
rm -f claude-command-runner
fi
echo ""
echo "Clean complete!"
echo ""
echo "You can now run ./build.sh to build fresh"