spm: complex refactor, document of package

This commit is contained in:
Joe Mattiello
2023-03-10 19:23:32 -05:00
parent 1f2693bea6
commit 128b180c1f
40 changed files with 905 additions and 745 deletions

11
Tuist/Config.swift Normal file
View File

@@ -0,0 +1,11 @@
import ProjectDescription
let config = Config(
compatibleXcodeVersions: [upToNextMajor("14.0")],
swiftVersion: "5.4.0",
generationOptions: .options([
xcodeProjectName: "SideStore-\(.projectName)",
organizationName: "SideStore.io",
developmentRegion: "en"
])
)

21
Tuist/Setup.swift Normal file
View File

@@ -0,0 +1,21 @@
import ProjectDescription
let setup = Setup(
require: [
.precondition(
.swiftVersion("5.3.2"),
.xcodeVersion("12.4", "12D4e"))
],
run: [
.homebrew(packages: [
"rustup-init",
"rust",
"cargo-c",
"swiftformat",
"swiftlint",
"swiftgen",
"swift-doc"
]),
.mint()
]
)