openOutpaint/.devtools
Victor Seiji Hariki c0bc689c97
Update README.md
2023-01-04 21:59:51 -03:00
..
lint.sh Add test hook 2022-12-28 23:32:02 -03:00
README.md Update README.md 2023-01-04 21:59:51 -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.ps1 updates pre-commit to call .ps1 file instead, prevents updatehashes from looking in node_modules lol, updates hashes so git actions doesn't have to? 2023-01-02 19:38:37 -06: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 and sethooks.ps1 scripts

These scripts 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.