diff options
Diffstat (limited to 'vendor/tree-sitter-json/Makefile')
| -rw-r--r-- | vendor/tree-sitter-json/Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/vendor/tree-sitter-json/Makefile b/vendor/tree-sitter-json/Makefile index 5772f7a..d324079 100644 --- a/vendor/tree-sitter-json/Makefile +++ b/vendor/tree-sitter-json/Makefile | |||
| @@ -4,12 +4,7 @@ VERSION := 0.19.0 | |||
| 4 | SRC_DIR := src | 4 | SRC_DIR := src |
| 5 | 5 | ||
| 6 | PARSER_REPO_URL := $(shell git -C $(SRC_DIR) remote get-url origin ) | 6 | PARSER_REPO_URL := $(shell git -C $(SRC_DIR) remote get-url origin ) |
| 7 | 7 | PARSER_NAME := json | |
| 8 | ifeq (, $(PARSER_NAME)) | ||
| 9 | PARSER_NAME := $(shell basename $(PARSER_REPO_URL)) | ||
| 10 | PARSER_NAME := $(subst tree-sitter-,,$(PARSER_NAME)) | ||
| 11 | PARSER_NAME := $(subst .git,,$(PARSER_NAME)) | ||
| 12 | endif | ||
| 13 | 8 | ||
| 14 | ifeq (, $(PARSER_URL)) | 9 | ifeq (, $(PARSER_URL)) |
| 15 | PARSER_URL := $(subst :,/,$(PARSER_REPO_URL)) | 10 | PARSER_URL := $(subst :,/,$(PARSER_REPO_URL)) |
