Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for outDir2 (0.15 sec)

  1. platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/IncrementalExecutionIntegrationTest.groovy

                virtualFileSystem
            )
        }
    
        def "outputs are created"() {
            def unitOfWork = builder.withOutputDirs(
                dir1: file("outDir1"),
                dir2: file("outDir2")
            ).withOutputFiles(
                "file1": file("parent1/outFile"),
                "file2": file("parent2/outFile")
            ).withWork { ->
                UnitOfWork.WorkResult.DID_WORK
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  2. src/cmd/covdata/tool_test.go

    	t.Run("MergeSimple", func(t *testing.T) {
    		t.Parallel()
    		testMergeSimple(t, s, s.outdirs[0], s.outdirs[1], "set")
    		testMergeSimple(t, s, s.outdirs[2], s.outdirs[3], "atomic")
    	})
    	t.Run("MergeSelect", func(t *testing.T) {
    		t.Parallel()
    		testMergeSelect(t, s, s.outdirs[0], s.outdirs[1], "set")
    		testMergeSelect(t, s, s.outdirs[2], s.outdirs[3], "atomic")
    	})
    	t.Run("MergePcombine", func(t *testing.T) {
    		t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. cmd/genutils/genutils.go

    import (
    	"fmt"
    	"os"
    	"path/filepath"
    )
    
    // OutDir creates the absolute path name from path and checks path exists.
    // Returns absolute path including trailing '/' or error if path does not exist.
    func OutDir(path string) (string, error) {
    	outDir, err := filepath.Abs(path)
    	if err != nil {
    		return "", err
    	}
    
    	stat, err := os.Stat(outDir)
    	if err != nil {
    		return "", err
    	}
    
    	if !stat.IsDir() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 02 01:48:15 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  4. cmd/genman/gen_kube_man.go

    		}
    	case "kube-proxy":
    		// generate manpage for kube-proxy
    		proxy := proxyapp.NewProxyCommand()
    		genMarkdown(proxy, "", outDir)
    		for _, c := range proxy.Commands() {
    			genMarkdown(c, "kube-proxy", outDir)
    		}
    	case "kube-scheduler":
    		// generate manpage for kube-scheduler
    		scheduler := schapp.NewSchedulerCommand()
    		genMarkdown(scheduler, "", outDir)
    		for _, c := range scheduler.Commands() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 12:03:09 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. cmd/genkubedocs/gen_kube_docs.go

    		os.Exit(1)
    	}
    
    	outDir, err := genutils.OutDir(path)
    	if err != nil {
    		fmt.Fprintf(os.Stderr, "failed to get output directory: %v\n", err)
    		os.Exit(1)
    	}
    
    	switch module {
    	case "kube-apiserver":
    		// generate docs for kube-apiserver
    		apiserver := apiservapp.NewAPIServerCommand()
    		doc.GenMarkdownTree(apiserver, outDir)
    	case "kube-controller-manager":
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. src/cmd/cover/cfg_test.go

    }
    
    func writeOutFileList(t *testing.T, infiles []string, outdir, tag string) ([]string, string) {
    	outfilelist := filepath.Join(outdir, tag+"outfilelist.txt")
    	var sb strings.Builder
    	cv := filepath.Join(outdir, "covervars.go")
    	outfs := []string{cv}
    	fmt.Fprintf(&sb, "%s\n", cv)
    	for _, inf := range infiles {
    		base := filepath.Base(inf)
    		of := filepath.Join(outdir, tag+".cov."+base)
    		outfs = append(outfs, of)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. cmd/genutils/genutils_test.go

    package genutils
    
    import (
    	"testing"
    )
    
    func TestValidDir(t *testing.T) {
    	_, err := OutDir("./")
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestInvalidDir(t *testing.T) {
    	_, err := OutDir("./nondir")
    	if err == nil {
    		t.Fatal("expected an error")
    	}
    }
    
    func TestNotDir(t *testing.T) {
    	_, err := OutDir("./genutils_test.go")
    	if err == nil {
    		t.Fatal("expected an error")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 04 01:42:08 UTC 2017
    - 953 bytes
    - Viewed (0)
  8. cmd/gendocs/gen_kubectl_docs.go

    	path := "docs/"
    	if len(os.Args) == 2 {
    		path = os.Args[1]
    	} else if len(os.Args) > 2 {
    		fmt.Fprintf(os.Stderr, "usage: %s [output directory]\n", os.Args[0])
    		os.Exit(1)
    	}
    
    	outDir, err := genutils.OutDir(path)
    	if err != nil {
    		fmt.Fprintf(os.Stderr, "failed to get output directory: %v\n", err)
    		os.Exit(1)
    	}
    
    	// Set environment variables used by kubectl so the output is consistent,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 14:05:23 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/ZipHasherTest.groovy

            def outerContent2 = tmpDir.createDir("outer2")
            def innerContent2 = tmpDir.createDir("inner2")
            innerContent2.file("foo") << "Foo"
            def inner2 = outerContent2.file("inner2.jar")
            innerContent2.zipTo(inner2)
            def outer2 = tmpDir.file("outer2.jar")
            outerContent2.zipTo(outer2)
            def hash2 = zipHasher.hash(snapshotContext(outer2))
    
            expect:
            hash1 != hash2
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

            file("in-dir").createDir()
            def outDir = file("out-dir")
            def copy = file("other")
    
            given:
            run("work")
            run("work")
            result.assertTasksSkipped(":work")
    
            when:
            Files.move(outDir.toPath(), copy.toPath(), StandardCopyOption.ATOMIC_MOVE)
            outDir.deleteDir()
            outDir.createLink(copy)
    
            run("work")
    
            /*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top