diff options
| -rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
| @@ -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 | ||
| 49 | I recommend using a pre-commit hook that compiles all assets automatically: | ||
| 50 | |||
| 51 | ```#!bash | ||
| 52 | #!/bin/sh | ||
| 53 | |||
| 54 | exec make build | ||
| 55 | git add -f assets | ||
| 56 | exit 0 | ||
| 57 | ``` | ||
| 58 | |||
| 49 | 59 | ||
| 50 | ## Related | 60 | ## Related |
| 51 | 61 | ||
