rm -rf shfmt
mkdir shfmt
export GOPATH=`pwd`/shfmt

GO111MODULE=on go get -v -d mvdan.cc/sh/v3/cmd/shfmt
GO111MODULE=on go get -v -d mvdan.cc/sh/v3/cmd/gosh

tar -c -f- --exclude .git shfmt | xz -9 >shfmt-`date '+%Y%m%d'`.tar.xz
rm -rf shfmt
