github.com/zxy12/golang_with_comment@v0.0.0-20190701084843-0e6b2aff5ef3/run.rc (about)

     1  #!/bin/rc -e
     2  # Copyright 2012 The Go Authors. All rights reserved.
     3  # Use of this source code is governed by a BSD-style
     4  # license that can be found in the LICENSE file.
     5  
     6  rfork e
     7  
     8  eval `{go env}
     9  
    10  GOPATH = () # we disallow local import for non-local packages, if $GOROOT happens
    11              # to be under $GOPATH, then some tests below will fail
    12  GOBIN = () # Issue 14340
    13  
    14  exec go tool dist test -rebuild $*