implement very basic highlighting
This commit is contained in:
15
Makefile
Normal file
15
Makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
CACHEDIR := $(PWD)/cache
|
||||
build:
|
||||
cd tree-sitter-nix-shell && tree-sitter generate
|
||||
|
||||
test: build
|
||||
cd tree-sitter-nix-shell && XDG_CACHE_HOME="${CACHEDIR}" tree-sitter test
|
||||
XDG_CACHE_HOME="${CACHEDIR}" ./tests/test_highlight basic
|
||||
|
||||
clean:
|
||||
rm -f tree-sitter-nix-shell/{Cargo.toml,binding.gyp}
|
||||
rm -rf tree-sitter-nix-shell/{bindings/,src/}
|
||||
rm -rf "${CACHEDIR}"
|
||||
|
||||
|
||||
.PHONY: build test clean
|
Reference in New Issue
Block a user