diff --git a/tools/lsp/squirrel/Makefile b/tools/lsp/squirrel/Makefile index 2c9703b6c..aca9eb7f0 100644 --- a/tools/lsp/squirrel/Makefile +++ b/tools/lsp/squirrel/Makefile @@ -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/* diff --git a/tools/lsp/squirrel/vendor/camligo/parser.c b/tools/lsp/squirrel/vendor/camligo/parser.c new file mode 120000 index 000000000..b47abcfb9 --- /dev/null +++ b/tools/lsp/squirrel/vendor/camligo/parser.c @@ -0,0 +1 @@ +../../grammar/camligo/src/parser.c \ No newline at end of file diff --git a/tools/lsp/squirrel/vendor/pascaligo/parser.c b/tools/lsp/squirrel/vendor/pascaligo/parser.c new file mode 120000 index 000000000..c6753c713 --- /dev/null +++ b/tools/lsp/squirrel/vendor/pascaligo/parser.c @@ -0,0 +1 @@ +../../grammar/pascaligo/src/parser.c \ No newline at end of file diff --git a/tools/lsp/squirrel/vendor/reasonligo/parser.c b/tools/lsp/squirrel/vendor/reasonligo/parser.c new file mode 120000 index 000000000..d82bb7164 --- /dev/null +++ b/tools/lsp/squirrel/vendor/reasonligo/parser.c @@ -0,0 +1 @@ +../../grammar/reasonligo/src/parser.c \ No newline at end of file