-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
769d7a0
commit b85714e
Showing
3 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ target/ | |
.nyc_output/ | ||
crash.txt | ||
fuzz/aflplusplus/out | ||
/.build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// swift-tools-version:5.3 | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "TreeSitterSSHClientConfig", | ||
platforms: [.macOS(.v10_13), .iOS(.v11)], | ||
products: [ | ||
.library(name: "TreeSitterSSHClientConfig", targets: ["TreeSitterSSHClientConfig"]), | ||
], | ||
dependencies: [], | ||
targets: [ | ||
.target(name: "TreeSitterSSHClientConfig", | ||
path: ".", | ||
exclude: [ | ||
"binding.gyp", | ||
"bindings", | ||
"Cargo.lock", | ||
"Cargo.toml", | ||
"CITATION.cff", | ||
"dev", | ||
"examples", | ||
"fuzz", | ||
"grammar.js", | ||
"LICENSE", | ||
"Makefile", | ||
"package.json", | ||
"package-lock.json", | ||
"README.md", | ||
"src/grammar.json", | ||
"src/node-types.json", | ||
"test", | ||
], | ||
sources: [ | ||
"src/parser.c", | ||
], | ||
resources: [ | ||
.copy("queries") | ||
], | ||
publicHeadersPath: "bindings/swift", | ||
cSettings: [.headerSearchPath("src")]) | ||
] | ||
) |
16 changes: 16 additions & 0 deletions
16
bindings/swift/TreeSitterSSHClientConfig/sshclientconfig.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#ifndef TREE_SITTER_SSHCLIENTCONFIG_H_ | ||
#define TREE_SITTER_SSHCLIENTCONFIG_H_ | ||
|
||
typedef struct TSLanguage TSLanguage; | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
extern TSLanguage *tree_sitter_sshclientconfig(); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif // TREE_SITTER_SSHCLIENTCONFIG_H_ |