mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Call the pipeline from within swift tools instead of through fastlane.
This commit is contained in:
committed by
Stefan Ceriu
parent
c516074648
commit
0d5f0b1593
+15
-8
@@ -2,6 +2,20 @@
|
||||
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
||||
|
||||
import PackageDescription
|
||||
import Foundation
|
||||
|
||||
var dependencies: [Package.Dependency] = [
|
||||
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "1.7.0")),
|
||||
.package(url: "https://github.com/element-hq/swift-command-line-tools.git", branch: "main"),
|
||||
// .package(path: "../../../swift-command-line-tools"),
|
||||
.package(url: "https://github.com/swiftlang/swift-subprocess", .upToNextMinor(from: "0.3.0")),
|
||||
.package(url: "https://github.com/jpsim/Yams", .upToNextMinor(from: "6.2.1")),
|
||||
.package(url: "https://github.com/apple/swift-log", .upToNextMinor(from: "1.10.1"))
|
||||
]
|
||||
|
||||
if FileManager.default.fileExists(atPath: "Enterprise/Pipeline/Package.swift") {
|
||||
dependencies.append(.package(path: "./enterprise/pipeline"))
|
||||
}
|
||||
|
||||
let package = Package(
|
||||
name: "Element Swift",
|
||||
@@ -11,14 +25,7 @@ let package = Package(
|
||||
products: [
|
||||
.executable(name: "tools", targets: ["Tools"])
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "1.7.0")),
|
||||
.package(url: "https://github.com/element-hq/swift-command-line-tools.git", branch: "main"),
|
||||
// .package(path: "../../../swift-command-line-tools"),
|
||||
.package(url: "https://github.com/swiftlang/swift-subprocess", .upToNextMinor(from: "0.3.0")),
|
||||
.package(url: "https://github.com/jpsim/Yams", .upToNextMinor(from: "6.2.1")),
|
||||
.package(url: "https://github.com/apple/swift-log", .upToNextMinor(from: "1.10.1"))
|
||||
],
|
||||
dependencies: dependencies,
|
||||
targets: [
|
||||
.executableTarget(name: "Tools",
|
||||
dependencies: [
|
||||
|
||||
Reference in New Issue
Block a user