Add configure script

This commit is contained in:
0d0 2025-02-14 19:35:55 +01:00
parent ae6b7b3a24
commit 88c5e9af48
3 changed files with 37 additions and 1 deletions

15
scripts/src/pre-commit.sh Normal file
View file

@ -0,0 +1,15 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-commit".
set -e
npm run prepare
npm run check
npm run format
npm run lint