github.com/unigraph-dev/dgraph@v1.1.1-0.20200923154953-8b52b426f765/contrib/scripts/install.sh (about)

     1  #!/bin/bash
     2  
     3  # Used to install initial set of packages on Travis CI server.
     4  
     5  set -ex
     6  
     7  # Lets install the dependencies that are not vendored in anymore.
     8  go get -d golang.org/x/net/context
     9  go get -d google.golang.org/grpc
    10  go get github.com/prometheus/client_golang/prometheus
    11  
    12  go get github.com/dgraph-io/dgo
    13  go get github.com/stretchr/testify/require
    14  
    15  pushd $GOPATH/src/google.golang.org/grpc
    16    # TODO(pawan) - This file seems to be useless. Delete it as dgraph doesn't compile with
    17    # grpc v1.8.2
    18    git checkout v1.8.2
    19  popd
    20