Skip to content

Commit 8d9ee6a

Browse files
Peter Stengerclaude
andcommitted
chore: drop unused Swift/Go/C scaffolding
Nothing in this repo or its consumers links against a C library, a Swift package, or a Go module. Drop the bindings/ subdirs, the build files (Makefile, CMakeLists.txt), and the manifests (Package.swift, go.mod). Flip the corresponding flags in tree-sitter.json and ci.yml. Also bump pnpm/action-setup v4→v6 to finish the Node 24 migration, and normalize publish-pypi.yml's quote style for prettier. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 79f31b2 commit 8d9ee6a

19 files changed

Lines changed: 11 additions & 369 deletions

.gitattributes

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,9 @@ src/*.json linguist-generated
55
src/parser.c linguist-generated
66
src/tree_sitter/* linguist-generated
77

8-
# C bindings
9-
bindings/c/** linguist-generated
10-
CMakeLists.txt linguist-generated
11-
Makefile linguist-generated
12-
138
# Node.js bindings
149
bindings/node/* linguist-generated
1510
binding.gyp linguist-generated
16-
package.json linguist-generated
17-
package-lock.json linguist-generated
1811

1912
# Python bindings
2013
bindings/python/** linguist-generated
21-
setup.py linguist-generated
22-
pyproject.toml linguist-generated
23-
24-
# Go bindings
25-
bindings/go/* linguist-generated
26-
go.mod linguist-generated
27-
go.sum linguist-generated
28-
29-
# Swift bindings
30-
bindings/swift/** linguist-generated
31-
Package.swift linguist-generated
32-
Package.resolved linguist-generated
33-
34-
# Zig bindings
35-
build.zig linguist-generated
36-
build.zig.zon linguist-generated

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
test-rust: false
4848
test-node: true
4949
test-python: true
50-
test-go: true
51-
test-swift: true
50+
test-go: false
51+
test-swift: false
5252
- name: Parse examples
5353
uses: tree-sitter/parse-action@v4
5454
with:

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Checkout repository
1313
uses: actions/checkout@v6
1414
- name: Install pnpm
15-
uses: pnpm/action-setup@v4
15+
uses: pnpm/action-setup@v6
1616
with:
1717
version: 10
1818
- name: Set up Node.js
@@ -31,7 +31,7 @@ jobs:
3131
- name: Checkout repository
3232
uses: actions/checkout@v6
3333
- name: Install pnpm
34-
uses: pnpm/action-setup@v4
34+
uses: pnpm/action-setup@v6
3535
with:
3636
version: 10
3737
- name: Set up Node.js

.github/workflows/lsp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Checkout repository
2626
uses: actions/checkout@v6
2727
- name: Install pnpm
28-
uses: pnpm/action-setup@v4
28+
uses: pnpm/action-setup@v6
2929
with:
3030
version: 10
3131
- name: Set up Node.js

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v6
2121
- uses: actions/setup-python@v6
2222
with:
23-
python-version: "3.14"
23+
python-version: '3.14'
2424
- run: pip install --upgrade build
2525
- run: python -m build --sdist
2626
- uses: actions/upload-artifact@v7
@@ -40,7 +40,7 @@ jobs:
4040
- ubuntu-latest
4141
- ubuntu-24.04-arm
4242
- windows-latest
43-
- macos-14 # arm64
43+
- macos-14 # arm64
4444
steps:
4545
- uses: actions/checkout@v6
4646
- uses: pypa/cibuildwheel@v3.4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
uses: actions/checkout@v6
4040

4141
- name: Install pnpm
42-
uses: pnpm/action-setup@v4
42+
uses: pnpm/action-setup@v6
4343
with:
4444
version: 10
4545

CMakeLists.txt

Lines changed: 0 additions & 63 deletions
This file was deleted.

Makefile

Lines changed: 0 additions & 94 deletions
This file was deleted.

Package.resolved

Lines changed: 0 additions & 16 deletions
This file was deleted.

Package.swift

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)