Add dev setup instructions and update pre-commit config

This commit is contained in:
Amith Koujalgi
2025-03-11 12:15:19 +05:30
parent b638b981c9
commit 983a3617f0
3 changed files with 36 additions and 8 deletions

View File

@@ -1,3 +1,10 @@
dev:
@echo "Setting up dev environment..."
@command -v pre-commit >/dev/null 2>&1 || { echo "Error: pre-commit is not installed. Please install it first."; exit 1; }
pre-commit install
pre-commit autoupdate
pre-commit install --install-hooks
build:
mvn -B clean install