mirror of
https://github.com/openclaw/openclaw.git
synced 2026-09-28 05:54:09 +08:00
* chore(deps): refresh macOS and iOS app dependencies * fix(macos): bundle MLX resources and refresh embedded CUA Use Swift Build for MLX shaders and copy helper resource bundles into the app's signed Resources directory. Reject packages without the Metal library. Refresh CUA to the newest quarantine-eligible version with matched native artifact digests. Correct two pre-existing iOS test expectations uncovered by the full suite and align dependency documentation with the owning contracts. * fix(macos): resolve MLX products through SwiftPM
57 lines
1.1 KiB
Plaintext
57 lines
1.1 KiB
Plaintext
# SwiftFormat configuration adapted from Peekaboo defaults (Swift 6 friendly)
|
|
|
|
--swiftversion 6.2
|
|
--min-version 0.63.0
|
|
|
|
# Self handling
|
|
--self insert
|
|
--selfrequired
|
|
|
|
# Imports / extensions
|
|
--importgrouping testable-bottom
|
|
--extensionacl on-declarations
|
|
|
|
# Indentation
|
|
--indent 4
|
|
--indentcase false
|
|
--ifdef no-indent
|
|
--xcodeindentation enabled
|
|
|
|
# Line breaks
|
|
--linebreaks lf
|
|
--maxwidth 120
|
|
|
|
# Whitespace
|
|
--trimwhitespace always
|
|
--emptybraces no-space
|
|
--nospaceoperators ...,..<
|
|
--ranges no-space
|
|
--semicolons never
|
|
--someAny true
|
|
--voidtype void
|
|
|
|
# Wrapping
|
|
--wraparguments before-first
|
|
--wrapparameters before-first
|
|
--wrapcollections before-first
|
|
--closingparen same-line
|
|
|
|
# Preserve the established compact style for single-statement if bodies.
|
|
--disable wrapIfStatementBodies
|
|
|
|
# Organization
|
|
--organizetypes class,struct,enum,extension
|
|
--extensionmark "MARK: - %t + %p"
|
|
--marktypes always
|
|
--markextensions always
|
|
--structthreshold 0
|
|
--enumthreshold 0
|
|
|
|
# Other
|
|
--stripunusedargs closure-only
|
|
--header ignore
|
|
--allman false
|
|
|
|
# Exclusions
|
|
--exclude .build,.swiftpm,DerivedData,node_modules,dist,coverage,xcuserdata,Peekaboo,apps/android,apps/ios,apps/shared
|