mirror of
https://github.com/apple/pkl.git
synced 2026-03-18 07:13:54 +01:00
Initial commit
This commit is contained in:
8
.githooks/pre-commit
Executable file
8
.githooks/pre-commit
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
files=`git diff --cached --name-status`
|
||||
|
||||
if [[ $files =~ .circleci/config.pkl ]]; then
|
||||
pkl eval .circleci/config.pkl -o .circleci/config.yml
|
||||
git add .circleci/config.yml
|
||||
fi
|
||||
Reference in New Issue
Block a user