From ffdda791c0d739154a73af09e4ed14c9147a354b Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Mon, 16 Oct 2023 14:54:28 -0700 Subject: [PATCH] test: add update_snapshots make target --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 71447f8..8487e8c 100644 --- a/Makefile +++ b/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 +# Regenerate documentation doc: scripts/nvim_doc_tools python scripts/main.py generate - python scripts/main.py lint +# Run the test suite test: ./run_tests.sh +# Update the symbols snapshot files +update_snapshots: + ./run_tests.sh --update + +# Run all linters lint: scripts/nvim-typecheck-action fastlint ./scripts/nvim-typecheck-action/typecheck.sh --workdir scripts/nvim-typecheck-action lua +# Run all the fast linters fastlint: scripts/nvim_doc_tools python scripts/main.py lint luacheck lua tests --formatter plain