summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md13
-rwxr-xr-xpre-commit (renamed from pre-commit.sh)0
2 files changed, 12 insertions, 1 deletions
diff --git a/README.md b/README.md
index 7657ff7..aaf458f 100644
--- a/README.md
+++ b/README.md
@@ -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