Add all parser.c as symlinks
This commit is contained in:
parent
5e0cf40ea7
commit
7fa947e92e
@ -1,6 +1,6 @@
|
||||
SITTER ?= tree-sitter
|
||||
|
||||
DIRS := grammar/pascaligo grammar/reasonligo grammar/camligo
|
||||
DIRS := pascaligo reasonligo camligo
|
||||
|
||||
PACKAGE := squirrel
|
||||
|
||||
@ -16,9 +16,9 @@ generate: $(DIRS)
|
||||
|
||||
$(DIRS): FORCE
|
||||
# $(SITTER) generate # Generation is manual for now
|
||||
mkdir -p $(PACKAGE)/vendor/$@
|
||||
cp $@/src/parser.c vendor/$@/parser.c
|
||||
cp -r $@/src/tree_sitter vendor/$@/tree_sitter
|
||||
# mkdir -p $(PACKAGE)/vendor/$@
|
||||
# cp grammar/$@/src/parser.c vendor/$@/parser.c
|
||||
# cp -r grammar/$@/src/tree_sitter vendor/$@/tree_sitter
|
||||
|
||||
clean:
|
||||
$(RM) vendor/*
|
||||
|
1
tools/lsp/squirrel/vendor/camligo/parser.c
vendored
Symbolic link
1
tools/lsp/squirrel/vendor/camligo/parser.c
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
../../grammar/camligo/src/parser.c
|
1
tools/lsp/squirrel/vendor/pascaligo/parser.c
vendored
Symbolic link
1
tools/lsp/squirrel/vendor/pascaligo/parser.c
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
../../grammar/pascaligo/src/parser.c
|
1
tools/lsp/squirrel/vendor/reasonligo/parser.c
vendored
Symbolic link
1
tools/lsp/squirrel/vendor/reasonligo/parser.c
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
../../grammar/reasonligo/src/parser.c
|
Loading…
Reference in New Issue
Block a user