You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
423 B
Bash

#!/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 "$@"