chore: adiciona .gitignore e commit.command
This commit is contained in:
Executable
+38
@@ -0,0 +1,38 @@
|
||||
// swift-tools-version: 6.0
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "HexCore",
|
||||
platforms: [.macOS(.v14)],
|
||||
products: [
|
||||
.library(name: "HexCore", targets: ["HexCore"]),
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/Clipy/Sauce", branch: "master"),
|
||||
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.11.0"),
|
||||
.package(url: "https://github.com/apple/swift-log", from: "1.9.1"),
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: "HexCore",
|
||||
dependencies: [
|
||||
"Sauce",
|
||||
.product(name: "Dependencies", package: "swift-dependencies"),
|
||||
.product(name: "DependenciesMacros", package: "swift-dependencies"),
|
||||
.product(name: "Logging", package: "swift-log"),
|
||||
],
|
||||
path: "Sources/HexCore",
|
||||
linkerSettings: [
|
||||
.linkedFramework("IOKit")
|
||||
]
|
||||
),
|
||||
.testTarget(
|
||||
name: "HexCoreTests",
|
||||
dependencies: ["HexCore"],
|
||||
path: "Tests/HexCoreTests",
|
||||
resources: [
|
||||
.copy("Fixtures")
|
||||
]
|
||||
),
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user