Skip to content

Commit

Permalink
Swift Package
Browse files Browse the repository at this point in the history
  • Loading branch information
cuong-huynh-tamara committed Jul 31, 2024
1 parent 618840f commit e827095
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ xcuserdata
Podfile.lock
Pods
*.framework
*.xcworkspace

# SwiftPM
Package.resolved
.swiftpm

*.xcworkspace
31 changes: 31 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// swift-tools-version:5.0

import PackageDescription

let package = Package(
name: "TamaraSDK",
platforms: [
.iOS(.v11)
],
products: [
.library(
name: "TamaraSDK",
targets: ["TamaraSDK"]),
],
dependencies: [
.package(url: "https://github.com/Moya/Moya.git", from: "14.0.0"),
],
targets: [
.target(
name: "TamaraSDK",
dependencies: ["Moya"],
path: "TamaraSDK/TamaraSDK"
),
.testTarget(
name: "TamaraSDKTests",
dependencies: ["TamaraSDK"],
path: "TamaraSDK/TamaraSDKTests"
)
],
swiftLanguageVersions: [.v5]
)

0 comments on commit e827095

Please sign in to comment.