buildah-build/git-hooks/pre-commit
Tim Etchells 5cf7e9c453 Rename 'archs' input and improve multiarch
Expand readme
Add example

Signed-off-by: Tim Etchells <tetchel@gmail.com>
2021-07-09 10:29:10 -04:00

11 lines
No EOL
321 B
Bash
Executable file

#!/usr/bin/env bash
### Copy this into .git/hooks and overwrite the empty one.
### This will ensure the bundle and ins-outs verification checks won't fail for you.
echo "----- Pre-commit -----"
set -ex
npx action-io-generator -o src/generated/inputs-outputs.ts
npm run lint
npm run bundle
git add -v dist/ src/generated