mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Convert Account into a Swift Package
This commit is contained in:
5
Account/.gitignore
vendored
Normal file
5
Account/.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
.DS_Store
|
||||
/.build
|
||||
/Packages
|
||||
/*.xcodeproj
|
||||
xcuserdata/
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1100"
|
||||
LastUpgradeVersion = "1200"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
@@ -14,16 +14,16 @@
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "848934F51F62484F00CEBD24"
|
||||
BuildableName = "Account.framework"
|
||||
BlueprintIdentifier = "Account"
|
||||
BuildableName = "Account"
|
||||
BlueprintName = "Account"
|
||||
ReferencedContainer = "container:Account.xcodeproj">
|
||||
ReferencedContainer = "container:">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Test"
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
@@ -32,10 +32,10 @@
|
||||
skipped = "NO">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "848934FE1F62484F00CEBD24"
|
||||
BuildableName = "AccountTests.xctest"
|
||||
BlueprintIdentifier = "AccountTests"
|
||||
BuildableName = "AccountTests"
|
||||
BlueprintName = "AccountTests"
|
||||
ReferencedContainer = "container:Account.xcodeproj">
|
||||
ReferencedContainer = "container:">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
</Testables>
|
||||
@@ -60,10 +60,10 @@
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "848934F51F62484F00CEBD24"
|
||||
BuildableName = "Account.framework"
|
||||
BlueprintIdentifier = "Account"
|
||||
BuildableName = "Account"
|
||||
BlueprintName = "Account"
|
||||
ReferencedContainer = "container:Account.xcodeproj">
|
||||
ReferencedContainer = "container:">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
51
Account/Package.swift
Normal file
51
Account/Package.swift
Normal file
@@ -0,0 +1,51 @@
|
||||
// swift-tools-version:5.3
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "Account",
|
||||
platforms: [.macOS(SupportedPlatform.MacOSVersion.v10_15), .iOS(SupportedPlatform.IOSVersion.v13)],
|
||||
products: [
|
||||
.library(
|
||||
name: "Account",
|
||||
targets: ["Account"]),
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/Ranchero-Software/RSCore.git", .upToNextMajor(from: "1.0.0-beta1")),
|
||||
.package(url: "https://github.com/Ranchero-Software/RSDatabase.git", .upToNextMajor(from: "1.0.0-beta1")),
|
||||
.package(url: "https://github.com/Ranchero-Software/RSParser.git", .upToNextMajor(from: "2.0.0-beta1")),
|
||||
.package(url: "https://github.com/Ranchero-Software/RSWeb.git", .upToNextMajor(from: "1.0.0-beta1")),
|
||||
.package(url: "../Articles", .upToNextMajor(from: "1.0.0")),
|
||||
.package(url: "../ArticlesDatabase", .upToNextMajor(from: "1.0.0")),
|
||||
.package(url: "../Secrets", .upToNextMajor(from: "1.0.0")),
|
||||
.package(url: "../SyncDatabase", .upToNextMajor(from: "1.0.0")),
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: "Account",
|
||||
dependencies: [
|
||||
.product(name: "RSCore", package: "RSCore"),
|
||||
.product(name: "RSDatabase", package: "RSDatabase"),
|
||||
// .product(name: "RSDatabaseObjC", package: "RSDatabase"),
|
||||
.product(name: "RSParser", package: "RSParser"),
|
||||
// .product(name: "RSParserObjC", package: "RSParser"),
|
||||
.product(name: "RSWeb", package: "RSWeb"),
|
||||
.product(name: "Articles", package: "Articles"),
|
||||
.product(name: "ArticlesDatabase", package: "ArticlesDatabase"),
|
||||
.product(name: "Secrets", package: "Secrets"),
|
||||
.product(name: "SyncDatabase", package: "SyncDatabase"),
|
||||
]),
|
||||
.testTarget(
|
||||
name: "AccountTests",
|
||||
dependencies: ["Account"],
|
||||
resources: [
|
||||
.copy("JSON"),
|
||||
.copy("Feedly/feedly-1-initial"),
|
||||
.copy("Feedly/feedly-2-changestatuses"),
|
||||
.copy("Feedly/feedly-3-changestatusesagain"),
|
||||
.copy("Feedly/feedly-4-addfeedsandfolders"),
|
||||
.copy("Feedly/feedly-5-removefeedsandfolders"),
|
||||
.copy("Feedly/feedly-add-new-feed"),
|
||||
.copy("Feedly/Initial"),
|
||||
]),
|
||||
]
|
||||
)
|
||||
3
Account/README.md
Normal file
3
Account/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Account
|
||||
|
||||
A description of this package.
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user