sdggiesbrecht/sdgswift
README.md
Importing
SDGSwift provides libraries for use with the Swift Package Manager.
Simply add SDGSwift as a dependency in Package.swift and specify which of the libraries to use:
let package = Package(
name: "MyPackage",
dependencies: [
.package(
url: "https://github.com/SDGGiesbrecht/SDGSwift",
from: Version(14, 0, 0)
),
],
targets: [
.target(
name: "MyTarget",
dependencies: [
.product(name: "SDGSwift", package: "SDGSwift"),
.product(name: "SDGSwiftPackageManager", package: "SDGSwift"),
.product(name: "SDGSwiftSource", package: "SDGSwift"),
.product(name: "SDGSwiftDocumentation", package: "SDGSwift"),
.product(name: "SDGXcode", package: "SDGSwift"),
.product(name: "SDGSwiftConfiguration", package: "SDGSwift"),
.product(name: "SDGSwiftConfigurationLoading", package: "SDGSwift"),
.product(name: "SampleConfiguration", package: "SDGSwift"),
]
)
]
)The modules can then be imported in source files:
import SDGSwift
import SDGSwiftPackageManager
import SDGSwiftSource
import SDGSwiftDocumentation
import SDGXcode
import SDGSwiftConfiguration
import SDGSwiftConfigurationLoading
import SampleConfigurationAbout
The SDGSwift project is maintained by Jeremy David Giesbrecht.
If SDGSwift saves you money, consider giving some of it as a donation.
If SDGSwift saves you time, consider devoting some of it to contributing back to the project.
Ἄξιος γὰρ ὁ ἐργάτης τοῦ μισθοῦ αὐτοῦ ἐστι.
For the worker is worthy of his wages.
―ישוע/Yeshuʼa
Package Metadata
Repository: sdggiesbrecht/sdgswift
Default branch: master
README: README.md