Stanislav N. aka pztrn
8b945c8f90
All checks were successful
continuous-integration/drone Build is passing
13 lines
215 B
Bash
Executable File
13 lines
215 B
Bash
Executable File
#!/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
|