mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-12 21:00:38 +00:00
36 lines
No EOL
1 KiB
Swift
36 lines
No EOL
1 KiB
Swift
// swift-tools-version:5.3
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "TreeSitterC",
|
|
platforms: [.macOS(.v10_13), .iOS(.v11)],
|
|
products: [
|
|
.library(name: "TreeSitterC", targets: ["TreeSitterC"]),
|
|
],
|
|
dependencies: [],
|
|
targets: [
|
|
.target(name: "TreeSitterC",
|
|
path: ".",
|
|
exclude: [
|
|
"binding.gyp",
|
|
"bindings",
|
|
"Cargo.toml",
|
|
"examples",
|
|
"grammar.js",
|
|
"LICENSE",
|
|
"Makefile",
|
|
"package.json",
|
|
"README.md",
|
|
"src/grammar.json",
|
|
"src/node-types.json",
|
|
],
|
|
sources: [
|
|
"src/parser.c",
|
|
],
|
|
resources: [
|
|
.copy("queries")
|
|
],
|
|
publicHeadersPath: "bindings/swift",
|
|
cSettings: [.headerSearchPath("src")])
|
|
]
|
|
) |