'python manage.py tailwind build' as a pre-commit hook

This commit is contained in:
Klaas van Schelven
2024-05-13 14:25:53 +02:00
parent 86b775aabc
commit 1a264675c2
2 changed files with 9 additions and 2279 deletions

8
pre-commit Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
files=`git diff --cached --name-status`
. bin/activate
python manage.py tailwind build
git add theme/static/css/dist/styles.css

File diff suppressed because one or more lines are too long