1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00
This commit is contained in:
Lucas Vallenet
2023-06-08 13:04:31 +02:00
parent 217a1adba7
commit 1ffcf3f099
2 changed files with 17 additions and 1 deletions

View File

@@ -1,3 +1,3 @@
{
"version": 1686214653663
"version": 1686222202916
}

16
scripts/pre-commit Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
BOLD='\033[1m'
NONE='\033[00m'
echo "${BOLD}>> Pre-commit —${NONE} Build 🏗️"
git stash -q --keep-index
npm run build
status=$?
git stash pop -q
exit $status