From f76edd3022fc2bb5e8ef42dc2ed7174b856a1e3a Mon Sep 17 00:00:00 2001 From: brent s Date: Wed, 9 Mar 2022 23:57:56 -0500 Subject: [PATCH] adding build hook --- .githooks/post-commit/01-local_deploy.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 .githooks/post-commit/01-local_deploy.sh 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