Skip to content

Commit

Permalink
chore: use git submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMarble committed May 1, 2024
1 parent 01f281d commit 0eff477
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 35,952 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "pkg/devicetree/tree-sitter-devicetree"]
path = pkg/devicetree/tree-sitter-devicetree
url = https://github.com/joelspadin/tree-sitter-devicetree.git
2 changes: 1 addition & 1 deletion pkg/devicetree/binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package devicetree

// #cgo CFLAGS: -std=c11 -fPIC
// #cgo LDFLAGS: -Wl,--allow-multiple-definition
// #include "./parser.c"
// #include "./tree-sitter-devicetree/src/parser.c"

Check failure on line 5 in pkg/devicetree/binding.go

View workflow job for this annotation

GitHub Actions / lint

fatal error: ./tree-sitter-devicetree/src/parser.c: No such file or directory

Check failure on line 5 in pkg/devicetree/binding.go

View workflow job for this annotation

GitHub Actions / lint

fatal error: ./tree-sitter-devicetree/src/parser.c: No such file or directory

Check failure on line 5 in pkg/devicetree/binding.go

View workflow job for this annotation

GitHub Actions / lint

fatal error: ./tree-sitter-devicetree/src/parser.c: No such file or directory
import "C"

import (
Expand Down
Loading

0 comments on commit 0eff477

Please sign in to comment.