capacitor-promocode/Package.swift
2025-04-13 17:56:38 -04:00

29 lines
864 B
Swift

// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "CapacitorPromocode",
platforms: [.iOS(.v13)],
products: [
.library(
name: "CapacitorPromocode",
targets: ["PromoCodePlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "PromoCodePlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/PromoCodePlugin"),
.testTarget(
name: "PromoCodePluginTests",
dependencies: ["PromoCodePlugin"],
path: "ios/Tests/PromoCodePluginTests")
]
)