summaryrefslogtreecommitdiff
path: root/themes/LoveIt/.husky/pre-commit
diff options
context:
space:
mode:
Diffstat (limited to 'themes/LoveIt/.husky/pre-commit')
-rwxr-xr-xthemes/LoveIt/.husky/pre-commit4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/LoveIt/.husky/pre-commit b/themes/LoveIt/.husky/pre-commit
new file mode 100755
index 0000000..c628ef0
--- /dev/null
+++ b/themes/LoveIt/.husky/pre-commit
@@ -0,0 +1,4 @@
+#!/bin/zsh
+. "$(dirname "$0")/_/husky.sh"
+
+npm run build && npm run copy && git add resources assets/js