File: Package.swift

package info (click to toggle)
tree-sitter-vim 0.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,724 kB
  • sloc: ansic: 152,370; javascript: 2,370; lisp: 315; makefile: 119; python: 51; cpp: 14; sh: 9
file content (49 lines) | stat: -rw-r--r-- 1,361 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// swift-tools-version:5.3
import PackageDescription

let package = Package(
    name: "TreeSitterVim",
    platforms: [.macOS(.v10_13), .iOS(.v11)],
    products: [
        .library(name: "TreeSitterVim", targets: ["TreeSitterVim"]),
    ],
    dependencies: [],
    targets: [
        .target(name: "TreeSitterVim",
            path: ".",
            exclude: [
                "Cargo.toml",
                "Makefile",
                "binding.gyp",
                "bindings/c",
                "bindings/go",
                "bindings/node",
                "bindings/python",
                "bindings/rust",
                "examples",
                "grammar.js",
                "keywords.js",
                "rules",
                "package.json",
                "package-lock.json",
                "pyproject.toml",
                "setup.py",
                "test",
                "types",
                ".editorconfig",
                ".github",
                ".gitignore",
                ".gitattributes",
            ],
            sources: [
                "src/parser.c",
                "src/scanner.c",
            ],
            resources: [
                .copy("queries")
            ],
            publicHeadersPath: "bindings/swift",
            cSettings: [.headerSearchPath("src")])
    ],
    cLanguageStandard: .c11
)