Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for GOBIN (0.03 sec)

  1. src/cmd/go/testdata/script/cover_list.txt

    # This test is intended to verify that "go list" accepts coverage related
    # build arguments (such as -cover, -covermode). See issue #57785.
    
    [short] skip
    [!GOEXPERIMENT:coverageredesign] skip
    
    env GOBIN=$WORK/bin
    
    # Install a target and then do an ordinary staleness check on it.
    go install m/example
    ! stale m/example
    
    # Run a second staleness check with "-cover" as a build flag. The
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 22:47:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. Makefile

    # environment. This behavior may be surprising to many that use shell often, which simply
    # displays the existing environment
    export
    
    export GOBIN ?= $(GOPATH)/bin
    include Makefile.core.mk
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 11 18:29:15 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/build.go

    	ctx, span := trace.StartSpan(ctx, "InstallPackages "+strings.Join(patterns, " "))
    	defer span.Done()
    
    	if cfg.GOBIN != "" && !filepath.IsAbs(cfg.GOBIN) {
    		base.Fatalf("cannot install, GOBIN must be an absolute path")
    	}
    
    	pkgs = omitTestOnly(pkgsFilter(pkgs))
    	for _, p := range pkgs {
    		if p.Target == "" {
    			switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 17:22:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/00-bug.yml

          required: true
    
      - type: textarea
        id: go-env
        attributes:
          label: "Output of `go env` in your module/workspace:"
          placeholder: |
            GO111MODULE=""
            GOARCH="arm64"
            GOBIN="/Users/gopher/go/bin"
            GOCACHE="/Users/gopher/go/cache"
            GOENV="/Users/gopher/Library/Application Support/go/env"
            GOEXE=""
            GOEXPERIMENT=""
            GOFLAGS=""
            GOHOSTARCH="arm64"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/crypto/ecdh/ecdh_test.go

    		}
    		return string(out)
    	}
    
    	goBin := testenv.GoToolPath(t)
    	run(goBin, "build", "-o", "hello.exe", "hello.go")
    	if out := run("./hello.exe"); out != "OK\n" {
    		t.Error("unexpected output:", out)
    	}
    
    	// List all text symbols under crypto/... and make sure there are some for
    	// P384, but none for the other curves.
    	var consistent bool
    	nm := run(goBin, "tool", "nm", "hello.exe")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 18K bytes
    - Viewed (0)
  6. src/cmd/go/internal/fmtcmd/fmt.go

    			}
    		}
    	}
    	if len(gofmtArgs) > baseGofmtArgs {
    		base.Run(gofmtArgs)
    	}
    }
    
    func gofmtPath() string {
    	gofmt := "gofmt" + cfg.ToolExeSuffix()
    
    	gofmtPath := filepath.Join(cfg.GOBIN, gofmt)
    	if _, err := os.Stat(gofmtPath); err == nil {
    		return gofmtPath
    	}
    
    	gofmtPath = filepath.Join(cfg.GOROOT, "bin", gofmt)
    	if _, err := os.Stat(gofmtPath); err == nil {
    		return gofmtPath
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 12:16:35 UTC 2022
    - 3K bytes
    - Viewed (0)
  7. hack/lib/golang.sh

    #   env-var GOPATH points to our local output dir
    #   env-var GOBIN is unset (we want binaries in a predictable place)
    #   env-var PATH includes the local GOPATH
    kube::golang::setup_env() {
      # Even in module mode, we need to set GOPATH for `go build` and `go install`
      # to work.  We build various tools (usually via `go install`) from a lot of
      # scripts.
      #   * We can't just set GOBIN because that does not work on cross-compiles.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/envcmd/env.go

    	envFile, envFileChanged, _ := cfg.EnvFile()
    	env := []cfg.EnvVar{
    		{Name: "GO111MODULE", Value: cfg.Getenv("GO111MODULE")},
    		{Name: "GOARCH", Value: cfg.Goarch, Changed: cfg.Goarch != runtime.GOARCH},
    		{Name: "GOBIN", Value: cfg.GOBIN},
    		{Name: "GOCACHE"},
    		{Name: "GOENV", Value: envFile, Changed: envFileChanged},
    		{Name: "GOEXE", Value: cfg.ExeSuffix},
    
    		// List the raw value of GOEXPERIMENT, not the cleaned one.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. src/make.bat

    if...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. src/cmd/go/internal/cfg/cfg.go

    }
    
    var (
    	GOROOT string
    
    	// Either empty or produced by filepath.Join(GOROOT, …).
    	GOROOTbin string
    	GOROOTpkg string
    	GOROOTsrc string
    
    	GOBIN                         = Getenv("GOBIN")
    	GOMODCACHE, GOMODCACHEChanged = EnvOrAndChanged("GOMODCACHE", gopathDir("pkg/mod"))
    
    	// Used in envcmd.MkEnv and build ID computations.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top