25666f1659
shell now calls standard system from stdlib.h from c works on macOS, needed to test on linux regex strings in VarRegex were refactored into RegexBuilder all tests passed.
31 lines
627 B
Swift
31 lines
627 B
Swift
// swift-tools-version: 6.2
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "sonyalib",
|
|
platforms: [
|
|
.macOS(.v13)
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "sonyalib",
|
|
targets: ["sonyalib"]
|
|
),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "ShellHelper",
|
|
path: "Sources/shellHelper",
|
|
publicHeadersPath: "."
|
|
),
|
|
.target(
|
|
name: "sonyalib",
|
|
dependencies: ["ShellHelper"]
|
|
),
|
|
.testTarget(
|
|
name: "sonyalibTests",
|
|
dependencies: ["sonyalib"]
|
|
),
|
|
]
|
|
)
|