forked from capacitor-community/privacy-screen
-
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.
Migrate to SPM compatible structure capacitor-community#94
- Loading branch information
Showing
20 changed files
with
53 additions
and
830 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"pins" : [ | ||
{ | ||
"identity" : "capacitor-swift-pm", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/ionic-team/capacitor-swift-pm.git", | ||
"state" : { | ||
"branch" : "6.0.0", | ||
"revision" : "8a46dff3a8292761df1bded13a508da1c85859e8" | ||
} | ||
} | ||
], | ||
"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: "CapacitorCommunityPrivacyScreen", | ||
platforms: [.iOS(.v13)], | ||
products: [ | ||
.library( | ||
name: "PrivacyScreenPlugin", | ||
targets: ["PrivacyScreenPlugin"]) | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0") | ||
], | ||
targets: [ | ||
.target( | ||
name: "PrivacyScreenPlugin", | ||
dependencies: [ | ||
.product(name: "Capacitor", package: "capacitor-swift-pm"), | ||
.product(name: "Cordova", package: "capacitor-swift-pm") | ||
], | ||
path: "ios/Sources"), | ||
.testTarget( | ||
name: "PrivacyScreenPluginTests", | ||
dependencies: ["PrivacyScreenPlugin"], | ||
path: "ios/Tests") | ||
] | ||
) |
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
ios/Plugin.xcodeproj/project.xcworkspace/contents.xcworkspacedata
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
ios/Plugin.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file was deleted.
Oops, something went wrong.
77 changes: 0 additions & 77 deletions
77
ios/Plugin.xcodeproj/xcshareddata/xcschemes/Plugin.xcscheme
This file was deleted.
Oops, something went wrong.
68 changes: 0 additions & 68 deletions
68
ios/Plugin.xcodeproj/xcshareddata/xcschemes/PluginTests.xcscheme
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
"android/src/main/", | ||
"android/build.gradle", | ||
"dist/", | ||
"ios/Plugin/", | ||
"ios/Sources/", | ||
"CapacitorCommunityPrivacyScreen.podspec" | ||
], | ||
"author": "Robin Genz <[email protected]>", | ||
|
@@ -29,10 +29,10 @@ | |
], | ||
"scripts": { | ||
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web", | ||
"verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..", | ||
"verify:ios": "xcodebuild -scheme CapacitorCommunityPrivacyScreen -destination generic/platform=iOS", | ||
"verify:android": "cd android && ./gradlew clean build test && cd ..", | ||
"verify:web": "npm run build", | ||
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint", | ||
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint ios", | ||
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format", | ||
"eslint": "eslint . --ext ts", | ||
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"", | ||
|