Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for WithAction (0.11 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

                task nothing
                task withAction { doLast {} }
                task emptyOptions()
                task task
                task withOptions(dependsOn: [nothing, withAction, emptyOptions, task])
                task withOptionsAndAction(dependsOn: withOptions) { doLast {} }
            """
    
            expect:
            succeeds ":emptyOptions", ":nothing", ":task", ":withAction", ":withOptions", ":withOptionsAndAction"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/shell.go

    	sh.printLock.Lock()
    	defer sh.printLock.Unlock()
    	sh.printFunc(a...)
    }
    
    func (sh *Shell) printLocked(a ...any) {
    	sh.printFunc(a...)
    }
    
    // WithAction returns a Shell identical to sh, but bound to Action a.
    func (sh *Shell) WithAction(a *Action) *Shell {
    	sh2 := *sh
    	sh2.action = a
    	return &sh2
    }
    
    // Shell returns a shell for running commands on behalf of Action a.
    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. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy

            taskWithNestedBeanWithAction()
            buildFile << """
                extensions.create("bean", NestedBeanWithAction.class)
    
                bean {
                    withAction { it.text = "hello" }
                }
    
                task myTask(type: TaskWithNestedBeanWithAction) {
                    bean = project.bean
                }
            """
    
            buildFile.makeOlder()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top