mirror of
https://github.com/locomotivemtl/locomotive-boilerplate.git
synced 2026-01-15 00:55:08 +08:00
test
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"version": 1686214653663
|
||||
"version": 1686222202916
|
||||
}
|
||||
16
scripts/pre-commit
Normal file
16
scripts/pre-commit
Normal 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
|
||||
Reference in New Issue
Block a user