CoolFace
Apppublic

aravagarwal/CodeCloakPII

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
Package.swift49 linesDownload Raw Back to tree-sitter-python
1// swift-tools-version:5.32import PackageDescription3 4let package = Package(5    name: "TreeSitterPython",6    platforms: [.macOS(.v10_13), .iOS(.v11)],7    products: [8        .library(name: "TreeSitterPython", targets: ["TreeSitterPython"]),9    ],10    dependencies: [],11    targets: [12        .target(name: "TreeSitterPython",13                path: ".",14                exclude: [15                    "Cargo.toml",16                    "Makefile",17                    "binding.gyp",18                    "bindings/c",19                    "bindings/go",20                    "bindings/node",21                    "bindings/python",22                    "bindings/rust",23                    "examples",24                    "grammar.js",25                    "package.json",26                    "package-lock.json",27                    "pyproject.toml",28                    "setup.py",29                    "test",30                    "types",31                    ".editorconfig",32                    ".github",33                    ".gitignore",34                    ".gitattributes",35                    ".gitmodules",36                    ".npmignore",37                ],38                sources: [39                    "src/parser.c",40                    // NOTE: if your language has an external scanner, add it here.41                ],42                resources: [43                    .copy("queries")44                ],45                publicHeadersPath: "bindings/swift",46                cSettings: [.headerSearchPath("src")])47    ]48)49