mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-03-25 09:25:47 +00:00
Fix SwiftFormat/SwiftLint consistency
- Generate enum instead of struct in build script - Prevents formatting conflicts during release process - Maintains alignment with SwiftFormat enumNamespaces rule
This commit is contained in:
parent
a1505f3469
commit
bd49a9c772
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ echo "💉 Injecting version into Swift code..."
|
||||||
VERSION_SWIFT_PATH="$SWIFT_PROJECT_PATH/Sources/peekaboo/Version.swift"
|
VERSION_SWIFT_PATH="$SWIFT_PROJECT_PATH/Sources/peekaboo/Version.swift"
|
||||||
cat > "$VERSION_SWIFT_PATH" << EOF
|
cat > "$VERSION_SWIFT_PATH" << EOF
|
||||||
// This file is auto-generated by the build script. Do not edit manually.
|
// This file is auto-generated by the build script. Do not edit manually.
|
||||||
struct Version {
|
enum Version {
|
||||||
static let current = "$VERSION"
|
static let current = "$VERSION"
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue