Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 98 for rootfile (0.11 sec)

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

            buildFile << """
                task foo {
                    def outFile = project.file("out.txt")
                    outputs.file(outFile)
                    doLast {
                        if (outFile.exists()) {
                            throw new RuntimeException("Boo!")
                        }
                        outFile << "xxx"
                    }
                }
            """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 01 14:32:13 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyGroovyInterOpIntegrationTest.groovy

                import ${OutputFile.name}
    
                class ProducerTask extends DefaultTask {
                    @OutputFile
                    final RegularFileProperty outFile = project.objects.fileProperty()
    
                    @TaskAction
                    def run() {
                        outFile.get().asFile.text = "content"
                    }
                }
            """
        }
    
        @Override
        boolean nestedGetterIsFinal() {
            true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/AbstractFilePropertyGroovyInterOpIntegrationTest.groovy

                class SomePlugin implements Plugin<Project> {
                    void apply(Project project) {
                        project.tasks.register("producer", ProducerTask) {
                            outFile = project.layout.buildDirectory.file("intermediate.txt")
                        }
                    }
                }
            """
            taskDefinition()
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FilePropertyKotlinInterOpIntegrationTest.groovy

                import ${OutputFile.name}
    
                open class ProducerTask: DefaultTask() {
                    @OutputFile
                    val outFile: RegularFileProperty = project.objects.fileProperty()
    
                    @TaskAction
                    fun run() {
                        outFile.get().asFile.writeText("content")
                    }
                }
            """
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/generate_workspace.txt

    go 1.22
    
    use ./mod
    -- mod/go.mod --
    module example.com/mod
    -- mod/gen.go --
    //go:generate go run gen.go got.txt
    
    package main
    
    import "os"
    
    func main() {
        outfile := os.Args[1]
        os.WriteFile(outfile, []byte("Hello World!\n"), 0644)
    }
    -- want.txt --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 437 bytes
    - Viewed (0)
  6. src/cmd/go/internal/bug/bug.go

    	srcfile := filepath.Join(tempdir, "go-bug.c")
    	outfile := filepath.Join(tempdir, "go-bug")
    	err := os.WriteFile(srcfile, src, 0644)
    	if err != nil {
    		return
    	}
    	defer os.Remove(srcfile)
    	cmd := exec.Command("gcc", "-o", outfile, srcfile)
    	if _, err = cmd.CombinedOutput(); err != nil {
    		return
    	}
    	defer os.Remove(outfile)
    
    	cmd = exec.Command("ldd", outfile)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. pkg/controller/serviceaccount/config/types.go

    	// concurrentSATokenSyncs is the number of service account token syncing operations
    	// that will be done concurrently.
    	ConcurrentSATokenSyncs int32
    	// rootCAFile is the root certificate authority will be included in service
    	// account's token secret. This must be a valid PEM-encoded CA bundle.
    	RootCAFile string
    }
    
    type LegacySATokenCleanerConfiguration struct {
    	// CleanUpPeriod is the period of time since the last usage of an
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 24 23:20:17 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. pkg/testcerts/generate-certs.sh

    	echo "// and holds raw certificates for the webhook tests."
    	echo ""
    	echo "package testcerts"
    } >> $outfile
    
    for file in CACert ServerKey ServerCert ClientKey ClientCert; do
    	data=$(cat ${file}.pem)
    	{
    		echo ""
    		echo "// ${file} is a test cert for dynamic admission controller."
    		echo "var $file = []byte(\`$data\`)"
    	} >> $outfile
    done
    
    # Clean up after we're done.
    rm ./*.pem
    rm ./*.csr
    rm ./*.srl
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testcerts/gencerts.sh

    openssl x509 -req -in client.csr -CA CACert.pem -CAkey CAKey.pem -CAcreateserial -out ClientCert.pem -days 100000 -extensions v3_req -extfile client.conf
    
    outfile=certs.go
    
    cat > $outfile << EOF
    /*
    Copyright 2017 The Kubernetes Authors.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 24 05:55:09 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  10. src/cmd/link/elf_test.go

    		t.Fatal(err)
    	}
    	outFile := filepath.Join(td, "issue51939.exe")
    	goTool := testenv.GoToolPath(t)
    	cmd := testenv.Command(t, goTool, "build", "-o", outFile, goFile)
    	if out, err := cmd.CombinedOutput(); err != nil {
    		t.Logf("%s", out)
    		t.Fatal(err)
    	}
    
    	ef, err := elf.Open(outFile)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for _, s := range ef.Sections {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:34:01 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top