mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
* Supports specifying multiple package products * Adds #1395 to CHANGELOG.md * Updates documentation * Adds fixture * Adds changes to pbxproj after changing fixture * Elaborates on linking options in "Package dependency" section
21 lines
470 B
Swift
21 lines
470 B
Swift
// swift-tools-version: 5.8
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "FooFeature",
|
|
products: [
|
|
.library(name: "FooDomain", targets: [
|
|
"FooDomain"
|
|
]),
|
|
.library(name: "FooUI", targets: [
|
|
"FooUI"
|
|
])
|
|
],
|
|
targets: [
|
|
.target(name: "FooDomain"),
|
|
.target(name: "FooUI")
|
|
]
|
|
)
|