Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
aduryagin committed Oct 3, 2024
1 parent 11beea7 commit a467cd7
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 93 deletions.
51 changes: 40 additions & 11 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,27 +1,56 @@
// swift-tools-version:5.9
// swift-tools-version: 5.9
// This is a Skip (https://skip.tools) package,
// containing a Swift Package Manager project
// that will use the Skip build plugin to transpile the
// Swift Package, Sources, and Tests into an
// Android Gradle Project with Kotlin sources and JUnit tests.
import PackageDescription

let package = Package(
name: "SkipRevenueCat",
name: "skip-revenuecat",
defaultLocalization: "en",
platforms: [.iOS(.v16), .macOS(.v13)],
products: [
.library(
name: "SkipRevenueCat",
targets: ["SkipRevenueCat"]),
.library(name: "SkipRevenueCat", targets: [
"SkipRevenueCat",
"SkipRevenueCatLibrary"
]),
],
dependencies: [
.package(path: "skip-revenuecat"),
.package(url: "https://source.skip.tools/skip.git", from: "1.1.6"),
.package(url: "https://source.skip.tools/skip-foundation.git", from: "1.0.0"),
.package(url: "https://github.com/RevenueCat/purchases-hybrid-common.git", exact: "13.3.0")
],
targets: [
.target(
name: "SkipRevenueCat",
dependencies: [
"skip-revenuecat",
]
),
.product(name: "SkipFoundation", package: "skip-foundation"),
.product(name: "PurchasesHybridCommon", package: "purchases-hybrid-common"),
.product(name: "PurchasesHybridCommonUI", package: "purchases-hybrid-common"),
"SkipRevenueCatLibrary"
],
resources: [.process("Resources")],
plugins: [.plugin(name: "skipstone", package: "skip")]
),
// .binaryTarget(
// name: "SkipRevenueCatLibrary",
// path: "./skip-revenuecat-library/skip-revenuecat-library/build/XCFrameworks/release/SkipRevenueCatLibrary.xcframework"
// ),
.binaryTarget(
name: "SkipRevenueCatLibrary",
url: "https://api.github.com/repos/aduryagin/skip-revenuecat/releases/assets/196665472.zip",
checksum: "f26f419120d63a53a4906b65a1fb6fdfde26fe89e4634c9d4f989cefa02c82b4"
),

.testTarget(
name: "SkipRevenueCatTests",
dependencies: ["SkipRevenueCat"]
),
dependencies: [
"SkipRevenueCat",
.product(name: "SkipTest", package: "skip")
],
resources: [.process("Resources")],
plugins: [.plugin(name: "skipstone", package: "skip")]
)
]
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion skip-revenuecat-app/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let package = Package(
dependencies: [
.package(url: "https://source.skip.tools/skip.git", from: "1.1.7"),
.package(url: "https://source.skip.tools/skip-ui.git", from: "1.0.0"),
.package(name: "skip-revenuecat", path: "../skip-revenuecat")
.package(name: "skip-revenuecat", path: "../")
],
targets: [
.target(
Expand Down
56 changes: 0 additions & 56 deletions skip-revenuecat/Package.swift

This file was deleted.

25 changes: 0 additions & 25 deletions skip-revenuecat/README.md

This file was deleted.

0 comments on commit a467cd7

Please sign in to comment.