Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 857 for command1 (0.11 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r49/ToolingApiEclipseModelProjectCrossVersionSpec.groovy

               apply plugin: 'eclipse'
               import org.gradle.plugins.ide.eclipse.model.BuildCommand
    
               eclipse.project {
                   natures += ['nature.a']
                   buildCommand 'command1', argumentKey: 'arg'
               }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    
            then:
            project.projectNatures.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

        }
    
        def "runs actions when command is run"() {
            Runnable command = Mock()
    
            when:
            coordinator.runCommand(command, "command")
    
            then:
            1 * onStartCommand.run()
            1 * command.run()
            1 * onFinishCommand.run()
            0 * _._
        }
    
        def "runs actions when more commands are run"() {
            Runnable command = Mock()
            Runnable command2 = Mock()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/protocol/Command.java

     */
    public class Command extends Message implements Serializable {
        private final UUID identifier;
        private final byte[] token;
    
        public Command(UUID identifier, byte[] token) {
            this.identifier = identifier;
            this.token = token;
        }
    
        /**
         * Returns the authentication token for this command.
         */
        public byte[] getToken() {
            return token;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/base/base.go

    	Flag flag.FlagSet
    
    	// CustomFlags indicates that the command will do its own
    	// flag parsing.
    	CustomFlags bool
    
    	// Commands lists the available commands and help topics.
    	// The order here is the order in which they are printed by 'go help'.
    	// Note that subcommands are in general best avoided.
    	Commands []*Command
    }
    
    var Go = &Command{
    	UsageLine: "go",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java

         *
         * @return Created cancellation token associated with currently running command or an arbitrary instance if no command is running.
         */
        BuildCancellationToken getCancellationToken();
    
        /**
         * Runs the given long running command. No more than 1 command may be running at any given time.
         *
         * @param command The command to run
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. cmd/main.go

    	commandsTree := trie.NewTrie()
    
    	// registerCommand registers a cli command.
    	registerCommand := func(command cli.Command) {
    		commands = append(commands, command)
    		commandsTree.Insert(command.Name)
    	}
    
    	findClosestCommands := func(command string) []string {
    		var closestCommands []string
    		closestCommands = append(closestCommands, commandsTree.PrefixMatch(command)...)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/help/help.go

    		base.Exit()
    	}
    
    	if len(cmd.Commands) > 0 {
    		PrintUsage(os.Stdout, cmd)
    	} else {
    		tmpl(os.Stdout, helpTemplate, cmd)
    	}
    	// not exit 2: succeeded at 'go help cmd'.
    	return
    }
    
    var usageTemplate = `{{.Long | trim}}
    
    Usage:
    
    	{{.UsageLine}} <command> [arguments]
    
    The commands are:
    {{range .Commands}}{{if or (.Runnable) .Commands}}
    	{{.Name | printf "%-11s"}} {{.Short}}{{end}}{{end}}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. src/cmd/go/internal/toolchain/select.go

    			// If we are racing with another go command and do bin/go first,
    			// then the check of bin/go above might succeed, the other go command
    			// would skip its own mode-setting, and then the go command might
    			// try to run a tool before we get to setting the bits on pkg/tool.
    			// Setting pkg/tool before bin/go avoids that ordering problem.
    			// The only other tool the go command invokes is gofmt,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. istioctl/cmd/root.go

    	seenCommands := make(map[*cobra.Command]bool)
    	var commandStack []*cobra.Command
    
    	commandStack = append(commandStack, rootCmd)
    
    	for len(commandStack) > 0 {
    		n := len(commandStack) - 1
    		curCmd := commandStack[n]
    		commandStack = commandStack[:n]
    		seenCommands[curCmd] = true
    		for _, command := range curCmd.Commands() {
    			if !seenCommands[command] {
    				commandStack = append(commandStack, command)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. src/cmd/go/alldocs.go

    // and test commands:
    //
    //	-C dir
    //		Change to dir before running the command.
    //		Any files named on the command line are interpreted after
    //		changing directories.
    //		If used, this flag must be the first one in the command line.
    //	-a
    //		force rebuilding of packages that are already up-to-date.
    //	-n
    //		print the commands but do not run them.
    //	-p n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top