From e9a88898799d739cbf0254e9557c3dd85c8d5979 Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Wed, 26 Jun 2019 22:11:32 +0200 Subject: Readme: Add pre-commit hook --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 49ed7c5..05f4482 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,16 @@ Folder structure: - **fonts:** Fonts that will be minified - **js:** TypeScript source files +I recommend using a pre-commit hook that compiles all assets automatically: + +```#!bash +#!/bin/sh + +exec make build +git add -f assets +exit 0 +``` + ## Related -- cgit v1.2.3-54-g00ecf