Skip to content

Commit 8adb8d7

Browse files
committed
Justfile: Add 'clean' command
1 parent be83d12 commit 8adb8d7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

justfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ format:
99
@echo "Formatting Swift files..."
1010
swift-format format --in-place --recursive .
1111

12+
clean:
13+
@echo "Cleaning build artifacts..."
14+
rm -rf .DerivedData/
15+
rm -rf .build/
16+
rm -rf .swiftpm/
17+
1218
build-cli:
1319
@echo "Building CLI..."
1420
# Note: define -warning-as-errors here, not in Package.swift, because Xcode will always pass the

0 commit comments

Comments
 (0)