Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,528 for clean (0.05 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/TaskContainerExtensionsTest.kt

            val tasks = mock<TaskContainer> {
                on { register("clean") } doReturn taskProvider
            }
    
            tasks {
    
                val clean by registering
    
                inOrder(tasks, taskProvider) {
                    verify(tasks).register("clean")
                    verifyNoMoreInteractions()
                }
    
                assertInferredTypeOf(
                    clean,
                    typeOf<TaskProvider<Task>>()
                )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteTaskIntegrationTest.groovy

            then: "clean is still marked UP-TO-DATE"
            result.groupedOutput.task(":clean").outcome == "UP-TO-DATE"
    
            when: "the kotlin script compiler is invoked due to a script change"
            buildKotlinFile << "\n"
            succeeds "clean"
            then: "clean is still marked as UP-TO-DATE"
            result.groupedOutput.task(":clean").outcome == "UP-TO-DATE"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/clean_cache_n.txt

    env GOCACHE=$WORK/cache
    
    # Build something so that the cache gets populates
    go build main.go
    
    # Check that cache contains directories before running
    exists $GOCACHE/00
    
    # Run go clean -cache -n and ensure that directories weren't deleted
    go clean -cache -n
    exists $GOCACHE/00
    
    # Re-run go clean cache without the -n flag go ensure that directories were properly removed
    go clean -cache
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:22:49 UTC 2022
    - 637 bytes
    - Viewed (0)
  4. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDestroyablesIntegrationTest.groovy

        }
    
        def "clean build and build clean work reliably with composite build"() {
            given:
            dependency "org.test:buildB:1.0"
            buildA.buildFile << """
                clean {
                    dependsOn gradle.includedBuild('buildB').task(':clean')
                }
            """
    
            when:
            args "--parallel"
            execute(buildA, "clean", "build")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jul 09 15:31:00 UTC 2017
    - 2K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/clean_binary.txt

    [short] skip
    
    # --------------------- clean executables -------------------------
    
    # case1: test file-named executable 'main'
    env GO111MODULE=on
    
    ! exists main$GOEXE
    go build main.go
    exists -exec main$GOEXE
    go clean
    ! exists main$GOEXE
    
    # case2: test module-named executable 'a.b.c'
    ! exists a.b.c$GOEXE
    go build
    exists -exec a.b.c$GOEXE
    go clean
    ! exists a.b.c$GOEXE
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 22 13:36:17 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  6. src/make.bat

    if x%1==x-no-banner set...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_fuzz_cache.txt

    go test -fuzz=FuzzY -fuzztime=100x .
    go run ./contains_files $GOCACHE/fuzz/example.com/y/FuzzY
    
    # 'go clean -cache' should not delete the fuzz cache.
    go clean -cache
    exists $GOCACHE/fuzz
    
    # 'go clean -fuzzcache' should delete the fuzz cache but not the build cache.
    go build -x ./empty
    stderr '(compile|gccgo)( |\.exe).*empty.go'
    go clean -fuzzcache
    ! exists $GOCACHE/fuzz
    go build -x ./empty
    ! stderr '(compile|gccgo)( |\.exe).*empty.go'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:22:49 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

        }
    
        // <lifecycle>
        //   <id>clean</id>
        //   <phases>
        //     <phase>pre-clean</phase>
        //     <phase>clean</phase>
        //     <phase>post-clean</phase>
        //   </phases>
        //   <default-phases>
        //     <clean>org.apache.maven.plugins:maven-clean-plugin:clean</clean>
        //   </default-phases>
        // </lifecycle>
    
        private String id;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/path/example_test.go

    		"/../a/b/../././/c",
    		"",
    	}
    
    	for _, p := range paths {
    		fmt.Printf("Clean(%q) = %q\n", p, path.Clean(p))
    	}
    
    	// Output:
    	// Clean("a/c") = "a/c"
    	// Clean("a//c") = "a/c"
    	// Clean("a/c/.") = "a/c"
    	// Clean("a/c/b/..") = "a/c"
    	// Clean("/../a/c") = "/a/c"
    	// Clean("/../a/b/../././/c") = "/a/c"
    	// Clean("") = "."
    }
    
    func ExampleDir() {
    	fmt.Println(path.Dir("/a/b/c"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 19 00:10:22 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  10. src/os/path_test.go

    	}
    	perr, ok := err.(*PathError)
    	if !ok {
    		t.Fatalf("MkdirAll %q returned %T, not *PathError", fpath, err)
    	}
    	if filepath.Clean(perr.Path) != filepath.Clean(fpath) {
    		t.Fatalf("MkdirAll %q returned wrong error path: %q not %q", fpath, filepath.Clean(perr.Path), filepath.Clean(fpath))
    	}
    
    	// Can't make subdirectory of file.
    	ffpath := fpath + "/subdir"
    	err = MkdirAll(ffpath, 0777)
    	if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:37 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top