Add task and trunk
continuous-integration/drone/push Build is passing Details

master
René Jochum 2 years ago
parent 45f0a2dd15
commit e7cd6c5dd1
Signed by: jochum
GPG Key ID: F7D906F5E51E8E5E

@ -1,9 +1,19 @@
#!/bin/bash
# Install protoc
if [[ ! -x /go/bin/protoc-gen-micro ]]; then
cd /tmp
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28
go install github.com/go-micro/generator/cmd/protoc-gen-micro@v1.0.0
fi
# Install task
sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /go/bin
# Install trunk
pushd /go/bin
curl -LO https://trunk.io/releases/trunk
chmod +x trunk
popd
exec "$@"
Loading…
Cancel
Save