Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for Cwd (0.02 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/process/ShellScript.groovy

                return addLine("echo $variableName=\$$variableName")
            }
    
            @Override
            Builder printWorkingDir() {
                return addLine("echo CWD=\$(pwd)")
            }
    
            @Override
            Builder withExitValue(int exitValue) {
                return addLine("exit $exitValue")
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/workcmd/use.go

    	modload.UpdateWorkFile(wf)
    }
    
    // pathRel returns the absolute and canonical forms of dir for use in a
    // go.work file located in directory workDir.
    //
    // If dir is relative, it is interpreted relative to base.Cwd()
    // and its canonical form is relative to workDir if possible.
    // If dir is absolute or cannot be made relative to workDir,
    // its canonical form is absolute.
    //
    // Canonical absolute paths are clean.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/work.txt

    package lib
    
    import "example.com/a"
    
    func Hello() {
    	a.HelloFromA()
    }
    
    -- c/README --
    Create this directory so we can cd to
    it and make sure paths are interpreted
    relative to the go.work, not the cwd.
    -- d/go.mod --
    module example.com/d
    
    -- d/main.go --
    package main
    
    import "example.com/b/lib"
    
    func main() {
    	lib.Hello()
    }
    
    -- go.work.backwards --
    go 1.18
    
    use (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProcessOutputProviderIntegrationTest.groovy

                println(execProvider.standardOutput.asText.get())
    
                task empty() {}
            """
    
            when:
            run("-q", ":empty")
    
            then:
            outputContains("CWD=${workingDir.absolutePath}")
        }
    
        def "providers.exec provider can be wired to the task"() {
            given:
            def testScript = ShellScript.builder()
                .printText("Script output")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top