diff --git a/.githooks/post-commit/01-local_deploy.sh b/.githooks/post-commit/01-local_deploy.sh new file mode 100755 index 0000000..0990c14 --- /dev/null +++ b/.githooks/post-commit/01-local_deploy.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +set -e + +mkdir -p ~/bin +cd ${PWD}/cmd/pwgen +go build -o ~/bin/pwgen *.go