- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for GOBIN (0.26 sec)
-
src/cmd/go/testdata/script/version_buildvcs_fossil.txt
stdout '^\tbuild\tvcs.modified=false$' rm $GOBIN/a$GOEXE # Building with -buildvcs=false suppresses the info. go install -buildvcs=false go version -m $GOBIN/a$GOEXE ! stdout vcs.revision rm $GOBIN/a$GOEXE # An untracked file is shown as modified, even if it isn't part of the build. cp ../../outside/empty.txt . go install go version -m $GOBIN/a$GOEXE stdout '^\tbuild\tvcs=fossil\n' stdout '^\tbuild\tvcs.modified=true$'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 03 15:33:59 UTC 2022 - 2.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/gopath_install.txt
env GO111MODULE=off [short] skip # Without $GOBIN set, binaries should be installed into the GOPATH bin directory. env GOBIN= rm $GOPATH/bin/go-cmd-test$GOEXE go install go-cmd-test exists $GOPATH/bin/go-cmd-test$GOEXE # With $GOBIN set, binaries should be installed to $GOBIN. env GOBIN=$WORK/bin1 mkdir -p $GOBIN go install go-cmd-test exists $GOBIN/go-cmd-test$GOEXE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 15 00:06:54 UTC 2021 - 1.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/install_cmd_gobin.txt
# Check that commands in cmd are install to $GOROOT/bin, not $GOBIN. # Verifies golang.org/issue/32674. env GOBIN=gobin mkdir gobin go list -f '{{.Target}}' cmd/go stdout $GOROOT${/}bin${/}go$GOEXE # Check that tools are installed to $GOTOOLDIR, not $GOBIN. go list -f '{{.Target}}' cmd/compile
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 14:52:30 UTC 2022 - 364 bytes - Viewed (0) -
src/cmd/go/testdata/script/version_buildvcs_bzr.txt
go install go version -m $GOBIN/a$GOEXE stdout '^\tbuild\tvcs.modified=true$' rm empty.txt rm $GOBIN/a$GOEXE # An edited file is shown as modified, even if it isn't part of the build. cp ../../outside/empty.txt ../README go install go version -m $GOBIN/a$GOEXE stdout '^\tbuild\tvcs.modified=true$' exec bzr revert ../README rm $GOBIN/a$GOEXE -- $WORK/fakebin/bzr -- #!/bin/sh exit 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 07 03:44:02 UTC 2021 - 2.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/version_buildvcs_git.txt
rm $GOBIN/a$GOEXE # Building with -buildvcs=false suppresses the info. go install -buildvcs=false go version -m $GOBIN/a$GOEXE ! stdout vcs.revision rm $GOBIN/a$GOEXE # An untracked file is shown as uncommitted, even if it isn't part of the build. cp ../../outside/empty.txt . go install go version -m $GOBIN/a$GOEXE stdout '^\tbuild\tvcs.modified=true$' rm empty.txt rm $GOBIN/a$GOEXE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:30:18 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_issue6480.txt
exec $GOBIN/mtime errors.test$GOEXE cp stdout errors1_mod_time.txt exec $GOBIN/before start_time.txt errors1_mod_time.txt rm start_time.txt errors1_mod_time.txt # Check errors2.test mtime is updated exec $GOBIN/now cp stdout start_time.txt go test -x -c -o errors2.test errors ! stderr '[\\/]link|gccgo' # make sure up-to-date test binary is not relinked exec $GOBIN/mtime errors2.test
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 2.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/generate_env.txt
# Install an env command because Windows and plan9 don't have it. env GOBIN=$WORK/tmp/bin go install env.go [GOOS:plan9] env path=$GOBIN${:}$path [!GOOS:plan9] env PATH=$GOBIN${:}$PATH # Test generators have access to the environment go generate ./printenv.go stdout '^GOARCH='$GOARCH stdout '^GOOS='$GOOS stdout '^GOFILE=' stdout '^GOLINE=' stdout '^GOPACKAGE=' stdout '^DOLLAR=' -- env.go -- package main import ( "fmt"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 554 bytes - Viewed (0) -
src/cmd/go/testdata/script/install_relative_gobin_fail.txt
env GOBIN=. ! go install stderr 'cannot install, GOBIN must be an absolute path' -- go.mod -- module triv go 1.16 -- triv.go -- package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 17 13:25:29 UTC 2020 - 159 bytes - Viewed (0) -
src/cmd/go/testdata/script/version_buildvcs_hg.txt
exec hg commit -m 'initial commit' cd a go install go version -m $GOBIN/a$GOEXE stdout '^\tbuild\tvcs.revision=' stdout '^\tbuild\tvcs.time=' stdout '^\tbuild\tvcs.modified=false$' rm $GOBIN/a$GOEXE # Building with -buildvcs=false suppresses the info. go install -buildvcs=false go version -m $GOBIN/a$GOEXE ! stdout hgrevision rm $GOBIN/a$GOEXE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 30 18:09:02 UTC 2021 - 2.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/install_cross_gobin.txt
cd mycmd go build mycmd # cross-compile install with implicit GOBIN=$GOPATH/bin can make subdirectory env GOARCH=386 [GOARCH:386] env GOARCH=amd64 env GOOS=linux go install mycmd exists $GOPATH/bin/linux_$GOARCH/mycmd # cross-compile install with explicit GOBIN cannot make subdirectory env GOBIN=$WORK/bin ! go install mycmd ! exists $GOBIN/linux_$GOARCH
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 667 bytes - Viewed (0)