From e68d6f9613170bfa593ab8d5e248270c068f42c3 Mon Sep 17 00:00:00 2001 From: "Joakim L. Engeset" Date: Wed, 26 Jun 2024 12:07:21 +0200 Subject: [PATCH] feat: add Makefile to simplify running scripts --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c0b8548 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +VENV = .venv/bin +SCRIPTS = ./dev-scripts + +.PHONY: all verify venv update-docs + +all: check + +check: + npm install + $(SCRIPTS)/check-docs.sh + $(SCRIPTS)/lint-modified-shell-scripts.sh + +update-docs: + $(SCRIPTS)/update-docs.sh + +venv: + python -m venv .venv; \ + $(VENV)/pip install -r requirements.txt