This commit is contained in:
12
scripts/workers/gofumpt.sh
Executable file
12
scripts/workers/gofumpt.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
gofumpt_version="0.6.0"
|
||||
|
||||
set -xe
|
||||
|
||||
cd /tmp
|
||||
git clone https://github.com/mvdan/gofumpt.git
|
||||
cd gofumpt || exit 1
|
||||
git checkout "v${gofumpt_version}"
|
||||
go build -o /usr/local/bin/gofumpt .
|
||||
rm -rf /tmp/gofumpt
|
||||
Reference in New Issue
Block a user