forked from ionic-team/capacitor-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(screen-orientation): Add SPM support to screen-orientation (ion…
- Loading branch information
1 parent
4c45a62
commit d22735a
Showing
17 changed files
with
64 additions
and
803 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"pins" : [ | ||
{ | ||
"identity" : "capacitor6-spm-test", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/ionic-team/capacitor6-spm-test.git", | ||
"state" : { | ||
"branch" : "main", | ||
"revision" : "cf4ff2bc1dffb14adc27b1e5a09ac37e85424b99" | ||
} | ||
} | ||
], | ||
"version" : 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// swift-tools-version: 5.9 | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "CapacitorScreenOrientation", | ||
platforms: [.iOS(.v13)], | ||
products: [ | ||
.library( | ||
name: "ScreenOrientationPlugin", | ||
targets: ["ScreenOrientationPlugin"]) | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main") | ||
], | ||
targets: [ | ||
.target( | ||
name: "ScreenOrientationPlugin", | ||
dependencies: [ | ||
.product(name: "Capacitor", package: "capacitor6-spm-test"), | ||
.product(name: "Cordova", package: "capacitor6-spm-test") | ||
], | ||
path: "ios/Sources/ScreenOrientationPlugin"), | ||
.testTarget( | ||
name: "ScreenOrientationPluginTests", | ||
dependencies: ["ScreenOrientationPlugin"], | ||
path: "ios/Tests/ScreenOrientationPluginTests") | ||
] | ||
) |
Oops, something went wrong.