From ea695e3b1cd87810e816ad935d7966a574282da4 Mon Sep 17 00:00:00 2001 From: Marcelo Santos <117441129+marcelo-m7@users.noreply.github.com> Date: Sun, 31 Aug 2025 12:00:18 +0100 Subject: [PATCH] chore: run ec optionally --- Makefile | 3 +-- README.md | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index bc66483..610b165 100644 --- a/Makefile +++ b/Makefile @@ -15,10 +15,9 @@ fmt: lint: bash -O globstar -c 'shellcheck -x bin/mona modules/**/*.sh' shfmt -d bin modules recipes tests - ec + if command -v ec >/dev/null 2>&1; then ec; else echo "Install editorconfig-checker (ec) for EditorConfig validation: pip install editorconfig-checker"; fi test: bats -r tests ci: lint test - diff --git a/README.md b/README.md index 76a9a81..ff7f86b 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ sudo ./bin/mona ## Install -Clone the repo and install dev deps: +Clone the repo and install dev deps (ShellCheck, shfmt, BATS, optional editorconfig-checker): ```bash git clone https://github.com/Monynha-Softwares/MonaRepoTui.git @@ -33,6 +33,8 @@ cd MonaRepoTui make install-dev ``` +`make install-dev` includes the [EditorConfig Checker](https://github.com/editorconfig-checker/editorconfig-checker) (`ec`) for optional EditorConfig validation. If it's missing, `make lint` will remind you to install it. + ### TUI dependency The interactive menus use [bashsimplecurses](https://github.com/metal3d/bashsimplecurses).