aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeuerfuchs <git@feuerfuchs.dev>2019-06-26 22:11:32 +0200
committerFeuerfuchs <git@feuerfuchs.dev>2019-06-26 22:11:32 +0200
commite9a88898799d739cbf0254e9557c3dd85c8d5979 (patch)
tree527bebec0fc718c121994d182cd4024f3b2c17ba
parentCode cleanup (diff)
downloadgopherproxy-e9a88898799d739cbf0254e9557c3dd85c8d5979.tar.gz
gopherproxy-e9a88898799d739cbf0254e9557c3dd85c8d5979.tar.bz2
gopherproxy-e9a88898799d739cbf0254e9557c3dd85c8d5979.zip
Readme: Add pre-commit hook
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 49ed7c5..05f4482 100644
--- a/README.md
+++ b/README.md
@@ -46,6 +46,16 @@ Folder structure:
46- **fonts:** Fonts that will be minified 46- **fonts:** Fonts that will be minified
47- **js:** TypeScript source files 47- **js:** TypeScript source files
48 48
49I recommend using a pre-commit hook that compiles all assets automatically:
50
51```#!bash
52#!/bin/sh
53
54exec make build
55git add -f assets
56exit 0
57```
58
49 59
50## Related 60## Related
51 61