mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-18 19:23:43 +01:00
spm: complex refactor, document of package
This commit is contained in:
11
Tuist/Config.swift
Normal file
11
Tuist/Config.swift
Normal 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
21
Tuist/Setup.swift
Normal 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()
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user