pre-commit for vba solutions
- pre-commit for vba projects
- Free software: MIT license
This works with pre-commit
- Install pre-commit (if you have'nt already)
pip install pre-commit
- Add a pre-commit yaml
touch .pre-commit-config.yaml
- Inside the pre-commit yaml add
repos:
- repo: https://github.com/deltahedge1/vba-pre-commit
rev: v0.1.1
hooks:
- id: vba-pre-commit
- Install hooks
pre-commit install
- before each commit
- extracts the vba code
- zips the excel document which has the code
- add all of this to src.vba
- git adds ./src.vba/*
- Handles only one excel vba code in the source folder