Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 193 for commandline (0.28 sec)

  1. platforms/documentation/docs/src/snippets/tasks/incrementalBuild-incrementalBuildAdvanced/kotlin/buildSrc/src/main/java/org/example/GitClone.java

                getExecOperations().exec(spec -> spec.commandLine("git", "clone", "--no-checkout", remoteUri, destinationDir.getAbsolutePath()));
            }
            getExecOperations().exec(spec -> {
                spec.commandLine("git", "checkout", getCommitId().get());
                spec.setWorkingDir(destinationDir);
            });
            getExecOperations().exec(spec -> {
                spec.commandLine("git", "clean", "-fdx");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/DelegatingExecSpec.java

            getDelegate().setCommandLine(args);
        }
    
        @Override
        default ExecSpec commandLine(Object... args) {
            getDelegate().commandLine(args);
            return this;
        }
    
        @Override
        default ExecSpec commandLine(Iterable<?> args) {
            getDelegate().commandLine(args);
            return this;
        }
    
        @Override
        default ExecSpec args(Object... args) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/cmd/gotracevalidate/main.go

    	"fmt"
    	"io"
    	"log"
    	"os"
    
    	"internal/trace"
    	"internal/trace/testtrace"
    )
    
    func init() {
    	flag.Usage = func() {
    		fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s\n", os.Args[0])
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "Accepts a trace at stdin and validates it.\n")
    		flag.PrintDefaults()
    	}
    	log.SetFlags(0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 984 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/application/src/main/java/org/gradle/sample/app/Main.java

            CommandLineParser parser = new DefaultParser();
            CommandLine cmd = parser.parse(options, args);
    
            if (cmd.hasOption("debug")) {
                printModuleDebug(Main.class);
                printModuleDebug(Gson.class);
                printModuleDebug(StringUtils.class);
                printModuleDebug(CommandLine.class);
                printModuleDebug(BeanUtils.class);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/sources/process/ProviderCompatibleExecSpecTest.groovy

        def "spec sets commandLine on parameters"() {
            given:
            def parameters = newParameters()
            def command = ["some", "command", "with", "arguments"]
    
            when:
            specUnderTest.commandLine = command
            specUnderTest.copyToParameters(parameters)
    
            then:
            parameters.commandLine.get() == command
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/converter/BuildLayoutConverter.java

        }
    
        public BuildLayoutResult convert(InitialProperties systemProperties, ParsedCommandLine commandLine, @Nullable File workingDir) {
            return convert(systemProperties, commandLine, workingDir, parameters -> {
            });
        }
    
        public BuildLayoutResult convert(InitialProperties systemProperties, ParsedCommandLine commandLine, @Nullable File workingDir, Consumer<BuildLayoutParameters> defaults) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. src/flag/flag.go

    func Parse() {
    	// Ignore errors; CommandLine is set for ExitOnError.
    	CommandLine.Parse(os.Args[1:])
    }
    
    // Parsed reports whether the command-line flags have been parsed.
    func Parsed() bool {
    	return CommandLine.Parsed()
    }
    
    // CommandLine is the default set of command-line flags, parsed from [os.Args].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  8. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt

            val execOutput = providers.exec {
                workingDir = projectDir
                isIgnoreExitValue = true
                commandLine = listOf("git", *args)
                if (OperatingSystem.current().isWindows) {
                    commandLine = listOf("cmd.exe", "/d", "/c") + commandLine
                }
            }
            return execOutput.result.zip(execOutput.standardOutput.asText) { result, outputText ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 05:01:36 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          client.connectionPool.evictAll()
          client.dispatcher.executorService.shutdownNow()
    
          if (launch == CommandLine) {
            process?.destroyForcibly()
          }
        }
      }
    
      private fun sendTestRequest(request: Request) {
        try {
          if (this.launch != CommandLine) {
            println(request.url)
          }
    
          client.newCall(request)
            .execute()
            .use {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSkipCacheIntegrationTest.groovy

     */
    
    package org.gradle.internal.cc.impl
    
    class ConfigurationCacheSkipCacheIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        def "skip reading cached state on #commandLine"() {
    
            def configurationCache = newConfigurationCacheFixture()
    
            given:
            buildFile << """
                abstract class MyTask extends DefaultTask {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top