From e5f428d4123eea2c5e5fdafd383da62c978f314f Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Mon, 10 Apr 2017 15:23:56 -0700 Subject: [PATCH] scripts: Remove unused gentools script --- scripts/gentools | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100755 scripts/gentools diff --git a/scripts/gentools b/scripts/gentools deleted file mode 100755 index 353a67cf..00000000 --- a/scripts/gentools +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env bash -# Get/build binary tools for protocol buffer code generation - -set -eu - -OS=$(uname | tr A-Z a-z) -if [[ $OS == 'darwin' ]]; then - OS=osx # protoc names downloads with OSX, not darwin -fi - -PROTOC_VERSION=3.0.0-beta-2 - -mkdir -p tools - -# Get 'protoc' protocol buffer compiler -curl -L -o tools/protoc.zip https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/protoc-$PROTOC_VERSION-$OS-x86_64.zip -unzip tools/protoc.zip protoc -d tools -rm -f tools/protoc.zip - -# Build protoc-gen-go plugin -pushd vendor/github.com/golang/protobuf/protoc-gen-go -go build -mv protoc-gen-go $(dirs -l +1)/tools -popd