Add all parser.c as symlinks

This commit is contained in:
Kirill Andreev 2020-08-21 18:23:39 +04:00
parent 5e0cf40ea7
commit 7fa947e92e
No known key found for this signature in database
GPG Key ID: CF7DA79DE4785A47
4 changed files with 7 additions and 4 deletions

View File

@ -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/*

View File

@ -0,0 +1 @@
../../grammar/camligo/src/parser.c

View File

@ -0,0 +1 @@
../../grammar/pascaligo/src/parser.c

View File

@ -0,0 +1 @@
../../grammar/reasonligo/src/parser.c