diff --git a/Gopkg.lock b/Gopkg.lock deleted file mode 100644 index 3d521eee..00000000 --- a/Gopkg.lock +++ /dev/null @@ -1,56 +0,0 @@ -# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. - - -[[projects]] - name = "github.com/davecgh/go-spew" - packages = ["spew"] - revision = "346938d642f2ec3594ed81d874461961cd0faa76" - version = "v1.1.0" - -[[projects]] - name = "github.com/gogo/protobuf" - packages = ["proto"] - revision = "342cbe0a04158f6dcb03ca0079991a51a4248c02" - version = "v0.5" - -[[projects]] - branch = "master" - name = "github.com/golang/protobuf" - packages = [ - "jsonpb", - "proto", - "protoc-gen-go/descriptor", - "protoc-gen-go/plugin", - "ptypes/empty", - "ptypes/struct", - "ptypes/wrappers" - ] - revision = "7716a980bceefe9a0213654823d9ea62d23b87a2" - -[[projects]] - name = "github.com/pkg/errors" - packages = ["."] - revision = "645ef00459ed84a119197bfb8d8205042c6df63d" - version = "v0.8.0" - -[[projects]] - name = "github.com/pmezard/go-difflib" - packages = ["difflib"] - revision = "792786c7400a136282c1664665ae0a8db921c6c2" - version = "v1.0.0" - -[[projects]] - name = "github.com/stretchr/testify" - packages = [ - "assert", - "require" - ] - revision = "b91bfb9ebec76498946beb6af7c0230c7cc7ba6c" - version = "v1.2.0" - -[solve-meta] - analyzer-name = "dep" - analyzer-version = 1 - inputs-digest = "4871cc1866de9f66cab7a24d6f7011b047ce72df4f37684dc46882771608be0c" - solver-name = "gps-cdcl" - solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml deleted file mode 100644 index 46d79cc6..00000000 --- a/Gopkg.toml +++ /dev/null @@ -1,29 +0,0 @@ -# The importable parts of Twirp have no external dependencies. They just use the -# standard library. But both protoc-gen-twirp and Twirp's tests *do* have some -# dependencies, and this manifest lists them. -# -# All dependencies are specified as overrides, not constraints, so that dep -# doesn't get confused if someone imports Twirp. We don't want to falsely -# require any particular versions of these libraries - they are *only* for -# tests and building main packages. - -[[override]] - name = "github.com/gogo/protobuf" - version = "0.5.0" - -[[override]] - branch = "master" - name = "github.com/golang/protobuf" - -[[override]] - name = "github.com/pkg/errors" - version = "0.8.0" - -[[override]] - name = "github.com/stretchr/testify" - version = "1.2.0" - -[prune] - unused-packages = true - go-tests = true - non-go = true diff --git a/install_proto.bash b/install_proto.bash deleted file mode 100755 index 26e6b63f..00000000 --- a/install_proto.bash +++ /dev/null @@ -1,51 +0,0 @@ -#!/usr/bin/env bash - -# Copyright 2018 Twitch Interactive, Inc. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"). You may not -# use this file except in compliance with the License. A copy of the License is -# located at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# or in the "license" file accompanying this file. This file is distributed on -# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either -# express or implied. See the License for the specific language governing -# permissions and limitations under the License. - -which protoc -PROTOC_EXISTS=$? -if [ $PROTOC_EXISTS -eq 0 ]; then - echo "Protoc already installed" - PROTOC_VERSION=`protoc --version` - if [ "$PROTOC_VERSION" == "libprotoc 3.11.0" ]; then - exit 0 - fi - echo "libprotoc 3.11.0 required, but found: $PROTOC_VERSION" - exit 1 -fi - -if [ "$(uname)" == "Darwin" ]; then - brew install protobuf -elif [ `whoami` == "root" ]; then - mkdir -p /usr/local/src/protoc - pushd /usr/local/src/protoc - wget https://github.com/google/protobuf/releases/download/v3.11.0/protoc-3.11.0-linux-x86_64.zip -O /usr/local/src/protoc-3.11.0-linux-x86_64.zip - unzip -x ../protoc-3.11.0-linux-x86_64.zip - if [ ! -e /usr/local/bin/protoc ]; then - ln -s `pwd`/bin/protoc /usr/local/bin/protoc - fi - popd -elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then - echo "Project setup needs sudo to put protoc in /usr/local/src, so it will ask a few times" - sudo chmod a+w /usr/local/src - mkdir -p /usr/local/src/protoc - pushd /usr/local/src/protoc - wget https://github.com/google/protobuf/releases/download/v3.11.0/protoc-3.11.0-linux-x86_64.zip -O /usr/local/src/protoc-3.11.0-linux-x86_64.zip - unzip -x ../protoc-3.11.0-linux-x86_64.zip - if [ ! -e /usr/local/bin/protoc ]; then - sudo ln -s `pwd`/bin/protoc /usr/local/bin/protoc - fi - popd -fi -exit 0 diff --git a/tools.json b/tools.json deleted file mode 100644 index 457d3bfe..00000000 --- a/tools.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "Tools": [ - { - "Repository": "github.com/golang/protobuf/protoc-gen-go", - "Commit": "7716a980bceefe9a0213654823d9ea62d23b87a2" - }, - { - "Repository": "github.com/kisielk/errcheck", - "Commit": "db0ca22445717d1b2c51ac1034440e0a2a2de645" - }, - { - "Repository": "github.com/gogo/protobuf/protoc-gen-gofast", - "Commit": "30433562cfbf487fe1df7cd26c7bab168d2f14d0" - }, - { - "Repository": "github.com/twitchtv/retool", - "Commit": "6f6d4930d88c40e23d2b54d12e64f0444e1fb4ef" - } - ], - "RetoolVersion": "1.3.7" -} \ No newline at end of file