Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 2,569 for Commands (0.4 sec)

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

    stderr '^error obtaining VCS status: main module is in repository ".*root" but current directory is in repository ".*gitsub"$'
    go build -buildvcs=false
    go mod init example.com/root/gitsub
    exec git commit --allow-empty -m empty # status commands fail without this
    go build
    rm go.mod
    cd ..
    ! go build ./gitsub
    stderr '^error obtaining VCS status: main package is in repository ".*gitsub" but current directory is in repository ".*root"$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:32 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/shell.go

    }
    
    // runOut runs the command given by cmdline in the directory dir.
    // It returns the command output and any errors that occurred.
    // It accumulates execution time in a.
    func (sh *Shell) runOut(dir string, env []string, cmdargs ...any) ([]byte, error) {
    	a := sh.action
    
    	cmdline := str.StringList(cmdargs...)
    
    	for _, arg := range cmdline {
    		// GNU binutils commands, including gcc and gccgo, interpret an argument
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modcmd/graph.go

    The -go flag causes graph to report the module graph as loaded by the
    given Go version, instead of the version indicated by the 'go' directive
    in the go.mod file.
    
    The -x flag causes graph to print the commands graph executes.
    
    See https://golang.org/ref/mod#go-mod-graph for more about 'go mod graph'.
    	`,
    	Run: runGraph,
    }
    
    var (
    	graphGo goVersionFlag
    )
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. common/scripts/setup_env.sh

    fi
    
    # gitconfig conditional host mount (needed for git commands inside container)
    if [[ -f "${HOME}/.gitconfig" ]]; then
      CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${HOME}/.gitconfig,destination=/home/.gitconfig,readonly "
    fi
    
    # .netrc conditional host mount (needed for git commands inside container)
    if [[ -f "${HOME}/.netrc" ]]; then
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. ci/official/utilities/setup_macos.sh

      alias realpath=grealpath
      alias stat=gstat
      # By default, aliases are only expanded in interactive shells, which means
      # that they are not substituted for their corresponding commands in shell
      # scripts. By setting "expand_aliases", we enable alias expansion in
      # non-interactive shells as well.
      shopt -s expand_aliases
    else
      echo '==TFCI==: Error: Cannot find path to grealpath or gstat'
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 15:23:28 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. pkg/proxy/conntrack/conntrack_test.go

    	}
    
    	return &testCT{execCT{fexec}, fcmd}
    }
    
    // Gets the command that ct executed. (If it didn't execute any commands, this will
    // return "".)
    func (ct *testCT) getExecutedCommand() string {
    	// FakeExec panics if you try to run more commands than you set it up for. So the
    	// only possibilities here are that we ran 1 command or we ran 0.
    	if ct.execer.(*fakeexec.FakeExec).CommandCalls != 1 {
    		return ""
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:08:36 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. README.md

    ```sh
    firewall-cmd --get-active-zones
    ```
    
    This command gets the active zone(s). Now, apply port rules to the relevant zones returned above. For example if the zone is `public`, use
    
    ```sh
    firewall-cmd --zone=public --add-port=9000/tcp --permanent
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 00:22:36 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. src/make.bat

    go tool compile arguments to use when
    L17::: building the packages and commands.
    L18:::
    L19::: GO_LDFLAGS: Additional go tool link arguments to use when
    L20::: building the commands.
    L21:::
    L22::: CGO_ENABLED: Controls cgo usage during the build. Set it to 1
    L23::: to include all cgo related files, .c and .go file with "cgo"
    L24::: build directive, in the build. Set it to 0 to ignore them.
    L25:::
    L26::: CC: Command line to run to compile C code for GOHOSTARCH.
    L27::: Default is "gcc".
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. src/os/exec/lp_windows_test.go

    		files: []string{`p\a.exe`, `p2\a.exe`},
    		PATH:  []string{".", "p2"},
    		arg0:  `p\a`,
    		want:  `p\a.exe`,
    	},
    	// tests commands, like `a.exe`, with c.Dir set
    	{
    		// should not find a.exe in p, because LookPath(`a.exe`) will fail when
    		// called by Command (before Dir is set), and that error is sticky.
    		name:       "not found before Dir",
    		files:      []string{`p\a.exe`},
    		PATH:       []string{"."},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:38:12 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_GOTMPDIR.txt

    [GOOS:windows] env GOTMPDIR=$WORK\my-favorite-tmpdir
    mkdir $GOTMPDIR
    go build -x hello.go
    stderr ^WORK=.*my-favorite-tmpdir
    
    # Make GOTMPDIR a regular file. This prevents the creation of work directories,
    # so we can check that certain commands don't create them.
    # This simulates running on a full disk or a read-only volume.
    rm $GOTMPDIR
    cp hello.go $GOTMPDIR # any file will do
    
    # 'go build' should fail if GOTMPDIR is read-only.
    ! go build -x .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top