mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Package.swift builds but errors
Signed-off-by: Joseph Mattello <mail@joemattiello.com>
This commit is contained in:
committed by
Joe Mattiello
parent
9e6147c860
commit
65c43d683c
@@ -28,6 +28,15 @@
|
||||
"version": "3.2.1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"package": "Roxas",
|
||||
"repositoryURL": "https://github.com/JoeMatt/Roxas.git",
|
||||
"state": {
|
||||
"branch": "swiftpm",
|
||||
"revision": "fe142efb8b3e0330802aba3f44f508f712c0679f",
|
||||
"version": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"package": "danger-swift",
|
||||
"repositoryURL": "https://github.com/danger/swift.git",
|
||||
|
||||
@@ -44,16 +44,50 @@ let devTargets: [Target] = isDevelop
|
||||
let package = Package(
|
||||
name: "danger-swift",
|
||||
products: [
|
||||
// .library(name: "DangerDeps[SideStore]", type: .dynamic, targets: ["DangerDependencies"]), // dev
|
||||
.library(name: "SideStore", targets: ["SideStore", "SideStore-ObjC"]),
|
||||
.library(name: "AltStoreCore", targets: ["AltStoreCore"]),
|
||||
],
|
||||
.library(name: "Danger", targets: ["Danger"]),
|
||||
.library(name: "DangerFixtures", targets: ["DangerFixtures"]),
|
||||
.executable(name: "danger-swift", targets: ["Runner"]),
|
||||
] + devProducts,
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/danger/swift.git", from: "3.0.0"), // dev
|
||||
.package(url: "https://github.com/JoeMatt/Roxas.git", branch: "swiftpm"),
|
||||
// Danger Plugins
|
||||
// .package(url: "https://github.com/username/DangerPlugin.git", from: "0.1.0") // dev
|
||||
],
|
||||
.package(url: "https://github.com/shibapm/Logger", from: "0.1.0"),
|
||||
.package(url: "https://github.com/mxcl/Version", from: "2.0.1"),
|
||||
.package(name: "OctoKit", url: "https://github.com/nerdishbynature/octokit.swift", from: "0.12.0"),
|
||||
] + devDependencies,
|
||||
targets: [
|
||||
// .target(name: "DangerDependencies", dependencies: ["Danger", "DangerPlugin"], path: "Dependencies/Danger"), // dev
|
||||
.target(name: "SideStore", dependencies: ["SideStore-ObjC", "AltStoreCore"], path: "AltStore", exclude: ["Operations/Patch App/ALTAppPatcher.m"]),
|
||||
.target(name: "SideStore-ObjC", dependencies: ["Roxas"], path: "AltStore", sources: ["Operations/Patch App/ALTAppPatcher.m"], publicHeadersPath: "Operations/Patch App/"),
|
||||
.target(name: "AltStoreCore", dependencies: ["AltStoreCore-ObjC"], path: "AltStoreCore", exclude: ["Types/ALTAppPermission.m", "Types/ALTPatreonBenefitType.m", "Types/ALTSourceUserInfoKey.m"]),
|
||||
.target(name: "AltStoreCore-ObjC", dependencies: ["Roxas"], path: "AltStoreCore", sources: ["Types/ALTAppPermission.m", "Types/ALTPatreonBenefitType.m", "Types/ALTSourceUserInfoKey.m"], publicHeadersPath: "Types"),
|
||||
|
||||
// name: "SideStore",
|
||||
// // dependencies: [
|
||||
// // .product(name: "RxSwift", package: "RxSwift")
|
||||
// // ],
|
||||
// path: "AltStore",
|
||||
// exclude: ["Info.plist", "*.m"],
|
||||
// cSettings: cSettings,
|
||||
// cxxSettings: cxxSettings),
|
||||
|
||||
// .target(
|
||||
// name: "PVLibrary-ObjC",
|
||||
// // dependencies: [
|
||||
// // .product(name: "RxSwift", package: "RxSwift")
|
||||
// // ],
|
||||
// path: "PVLibrary",
|
||||
// exclude: ["Info.plist", "*.swift"],
|
||||
// cSettings: cSettings,
|
||||
// cxxSettings: cxxSettings),
|
||||
]
|
||||
.target(name: "Danger-Swift", dependencies: ["Danger"], plugins: [.plugin(name: "SwiftLintPlugin", package: "SwiftLint")]),
|
||||
.target(name: "DangerShellExecutor"),
|
||||
.target(name: "DangerDependenciesResolver", dependencies: ["DangerShellExecutor", "Version", "Logger"]),
|
||||
|
||||
Reference in New Issue
Block a user