Skip to content

Commit 9ceda95

Browse files
authored
[chore]: remove unneeded caches after building xcframework (#36)
* remove unneeded caches after building xcframework * fix lint error
1 parent 08cb9dc commit 9ceda95

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.swiftlint.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ identifier_name:
1616
- vc
1717

1818
excluded:
19-
- DerivedData
19+
- DerivedData
20+
- Tests

Tests/CodeEditLanguagesTests/CodeEditLanguagesTests.swift

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import XCTest
99
@testable import CodeEditLanguages
1010
import SwiftTreeSitter
1111

12-
// swiftlint:disable all
1312
final class CodeEditLanguagesTests: XCTestCase {
1413

1514
let bundleURL = Bundle.module.resourceURL

build_framework.sh

+7
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,11 @@ for lang in $LIST ; do
8989
done
9090
status "Language queries copied to package resources!"
9191

92+
# cleanup derived derived data
93+
94+
if [ -d "$PWD/DerivedData" ]; then
95+
status "Cleaning up DerivedData..."
96+
rm -rf "$PWD/DerivedData"
97+
fi
98+
9299
status "Done!"

0 commit comments

Comments
 (0)