Environment and development tools: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 122: Line 122:
https://github.com/Dolibarr/dolibarr/tree/develop/dev/setup/pre-commit
https://github.com/Dolibarr/dolibarr/tree/develop/dev/setup/pre-commit


In summarize:
<syntaxhighlight lang="bash">
sudo apt install php-codesniffer
sudo apt install python3
sudo apt install pip
sudo pip install --user pre-commit --break-system-packages
</syntaxhighlight>


Such hooks will work when using git on command line but may also work when committing using your common IDE (it has been validated with Eclipse and VSC).  
Such hooks will work when using git on command line but may also work when committing using your common IDE (it has been validated with Eclipse and VSC).  

Navigation menu