From 378db80c73d941eb834bf885f8a0dbd338c704c0 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Thu, 20 Nov 2025 00:00:38 +0500 Subject: [PATCH] docs(contributing): update setup instructions for pre-commit Update CONTRIBUTING guide to reflect migration from custom git hooks to standard pre-commit framework: * Add pre-commit package to installation commands for Fedora and Windows * Replace 'make githooks' with standard 'pre-commit install' command This completes the migration to pre-commit started in previous refactor commit, ensuring documentation matches current development workflow. --- CONTRIBUTING.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.adoc b/CONTRIBUTING.adoc index 25123058..e0f0672d 100644 --- a/CONTRIBUTING.adoc +++ b/CONTRIBUTING.adoc @@ -35,14 +35,14 @@ The preferred way to communicate is probably via Discord or GitHub issues. ``` # Step1: setup compile env # - Fedora -dnf install git go protobuf-compiler make -y +dnf install git go protobuf-compiler make pre-commit -y # - Windows with chocolatey -choco install git go protoc make python nodejs-lts -y +choco install git go protoc make python nodejs-lts -y && pip install pre-commit # Step2: clone and setup repo git clone https://github.com/OliveTin/OliveTin.git cd OliveTin -make githooks +pre-commit install # Step3: compile binary for current dev env (OS, ARCH) # `make proto` will also run `make go-tools`, which installs "buf". This binary