mirror of
https://github.com/stevearc/aerial.nvim
synced 2024-09-16 14:34:08 +02:00
test: add update_snapshots make target
This commit is contained in:
parent
7767d8324c
commit
ffdda791c0
1 changed files with 9 additions and 2 deletions
11
Makefile
11
Makefile
|
@ -1,17 +1,24 @@
|
||||||
.PHONY: all doc test lint fastlint clean
|
.PHONY: all doc test lint fastlint clean update_snapshots
|
||||||
|
|
||||||
all: doc lint test
|
all: doc lint test
|
||||||
|
|
||||||
|
# Regenerate documentation
|
||||||
doc: scripts/nvim_doc_tools
|
doc: scripts/nvim_doc_tools
|
||||||
python scripts/main.py generate
|
python scripts/main.py generate
|
||||||
python scripts/main.py lint
|
|
||||||
|
|
||||||
|
# Run the test suite
|
||||||
test:
|
test:
|
||||||
./run_tests.sh
|
./run_tests.sh
|
||||||
|
|
||||||
|
# Update the symbols snapshot files
|
||||||
|
update_snapshots:
|
||||||
|
./run_tests.sh --update
|
||||||
|
|
||||||
|
# Run all linters
|
||||||
lint: scripts/nvim-typecheck-action fastlint
|
lint: scripts/nvim-typecheck-action fastlint
|
||||||
./scripts/nvim-typecheck-action/typecheck.sh --workdir scripts/nvim-typecheck-action lua
|
./scripts/nvim-typecheck-action/typecheck.sh --workdir scripts/nvim-typecheck-action lua
|
||||||
|
|
||||||
|
# Run all the fast linters
|
||||||
fastlint: scripts/nvim_doc_tools
|
fastlint: scripts/nvim_doc_tools
|
||||||
python scripts/main.py lint
|
python scripts/main.py lint
|
||||||
luacheck lua tests --formatter plain
|
luacheck lua tests --formatter plain
|
||||||
|
|
Loading…
Reference in a new issue