From b9279b581bd8da8f2187615db5ca6f2744102764 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sun, 22 Feb 2026 16:00:51 -0500 Subject: [PATCH] build: add Makefile for lint and test targets Problem: .github/pre-commit calls `make fastlint` and .github/pre-push calls `make lint && make test`, but no Makefile existed, so the git hooks failed. Solution: add Makefile with lint (stylua + selene), fastlint (pre-commit), and test (luarocks test) targets. --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0c5883f --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +.PHONY: lint fastlint test + +lint: + stylua --check lua spec + selene --display-style quiet . + +fastlint: + pre-commit run --all-files + +test: + luarocks test --local