From 5665a46547a31c62972d87304934918ea4b261bf Mon Sep 17 00:00:00 2001 From: Vasiliy Kattouf Date: Sun, 29 Dec 2024 18:05:58 +0700 Subject: [PATCH] project(release): SakeApp linux support (#24) --- SakeApp/Package.resolved | 18 ++++++++++++++++++ SakeApp/Package.swift | 2 ++ SakeApp/ReleaseCommands.swift | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/SakeApp/Package.resolved b/SakeApp/Package.resolved index 3564735..ae34474 100644 --- a/SakeApp/Package.resolved +++ b/SakeApp/Package.resolved @@ -18,6 +18,24 @@ "version" : "1.5.0" } }, + { + "identity" : "swift-asn1", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-asn1.git", + "state" : { + "revision" : "7faebca1ea4f9aaf0cda1cef7c43aecd2311ddf6", + "version" : "1.3.0" + } + }, + { + "identity" : "swift-crypto", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-crypto.git", + "state" : { + "revision" : "ff0f781cf7c6a22d52957e50b104f5768b50c779", + "version" : "3.10.0" + } + }, { "identity" : "swift-syntax", "kind" : "remoteSourceControl", diff --git a/SakeApp/Package.swift b/SakeApp/Package.swift index 57bf118..92870de 100644 --- a/SakeApp/Package.swift +++ b/SakeApp/Package.swift @@ -14,6 +14,7 @@ let package = Package( .package(url: "https://github.com/kattouf/Sake.git", branch: "main"), .package(url: "https://github.com/kareman/SwiftShell", from: "5.1.0"), .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.2.0"), + .package(url: "https://github.com/apple/swift-crypto.git", from: "3.8.0"), ], targets: [ .executableTarget( @@ -22,6 +23,7 @@ let package = Package( .product(name: "ArgumentParser", package: "swift-argument-parser"), "Sake", "SwiftShell", + .product(name: "Crypto", package: "swift-crypto"), ], path: "." ), diff --git a/SakeApp/ReleaseCommands.swift b/SakeApp/ReleaseCommands.swift index 269d30a..076172d 100644 --- a/SakeApp/ReleaseCommands.swift +++ b/SakeApp/ReleaseCommands.swift @@ -1,5 +1,5 @@ import ArgumentParser -import CryptoKit +import Crypto import Foundation import Sake import SwiftShell