diff options
author | pommicket <pommicket@gmail.com> | 2023-08-24 15:30:35 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-24 15:30:35 -0400 |
commit | 14196cffe9af053a6694891bf1a3822a0eb81cb2 (patch) | |
tree | ad8872f373ec0eb9cc568e5bc9209ed128b69d50 | |
parent | 10a46d8a6bbfa6c4fff89b43be7d40f5d92ee3da (diff) |
pre-commit hook
-rw-r--r-- | README.md | 13 | ||||
-rwxr-xr-x | pre-commit (renamed from pre-commit.sh) | 0 |
2 files changed, 12 insertions, 1 deletions
@@ -1,4 +1,4 @@ -## fractiform +## pugl online shader thingamabob @@ -21,3 +21,14 @@ we use webgl2 (and consequently GLSL ES 3.00) because: - `.alt` - alternate text for searching. e.g. a widget with name "Foo" and alt "bar" will show up in searches for both "foo" and "bar". + +### development + +before making any commits, run + +```sh +npm install +cp -i pre-commit .git/hooks/ +``` + +this ensures that your changes are prettified & linted. diff --git a/pre-commit.sh b/pre-commit index 8c9427a..8c9427a 100755 --- a/pre-commit.sh +++ b/pre-commit |