openOutpaint/.devtools
2023-01-02 00:37:00 -03:00
..
lint.sh Add test hook 2022-12-28 23:32:02 -03:00
README.md Add test hook 2022-12-28 23:32:02 -03:00
sethooks.ps1 Add some git attributes to avoid using CRLF on Win 2023-01-02 00:37:00 -03:00
sethooks.sh separate hooks by platform 2023-01-01 22:39:20 -03:00
updatehashes.bat initial scripts 2023-01-01 22:41:02 -03:00
updatehashes.ps1 Add some git attributes to avoid using CRLF on Win 2023-01-02 00:37:00 -03:00
updatehashes.sh now only considers staged files 2022-12-30 07:44:10 -03:00

openOutpaint DevTools

This is a folder containing some handy scripts to help developers to automate workflows and write code in openOutpaint's standards. All scripts must be run from the root of the project.

sethooks.sh script

This script will setup git hooks for this project. Hooks are mainly for cache busting purposes for now. It is recommended to run this script and setup hooks before any commits are made.

lint.sh script

Uses npm to install prettier and lint javascript, html and css files according to .prettierrc.json. This script will install node modules locally, so editors with prettier support are recommended over this script.