Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,313 for clen (0.04 sec)

  1. platforms/documentation/docs/src/snippets/tutorial/mkdirTrap/groovy/build.gradle

    def classesDir = file('build/classes')
    classesDir.mkdirs()
    tasks.register('clean', Delete) {
        delete 'build'
    }
    tasks.register('compile') {
        dependsOn 'clean'
        def localClassesDir = classesDir
        doLast {
            if (!localClassesDir.isDirectory()) {
                println 'The class directory does not exist. I can not operate'
                // do something
            }
            // do something
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 406 bytes
    - Viewed (0)
  2. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/SwiftCleanBuildPerformanceTest.groovy

    class SwiftCleanBuildPerformanceTest extends AbstractCrossVersionPerformanceTest {
    
        def setup() {
            runner.minimumBaseVersion = '4.6'
        }
    
        def "clean assemble (swift)"() {
            given:
            runner.tasksToRun = ["assemble"]
            runner.cleanTasks = ["clean"]
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/CompositeCleanupActionTest.groovy

                .add(subDir, secondCleanupAction)
                .build()
                .clean(cleanableStore, progressMonitor)
    
            then:
            1 * firstCleanupAction.clean(_, progressMonitor) >> { store, m ->
                assert store.getBaseDir() == temporaryFolder.getTestDirectory()
            }
            1 * secondCleanupAction.clean(_, progressMonitor) >> { store, m ->
                assert store.getBaseDir() == subDir
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/RichConsolePerformanceTest.groovy

        }
    
        @RunFor([
            @Scenario(type = PER_COMMIT, operatingSystems = [LINUX], testProjects = ["largeMonolithicJavaProject"], iterationMatcher = "^clean assemble.*"),
            @Scenario(type = PER_DAY, operatingSystems = [LINUX], testProjects = ["largeJavaMultiProject", "bigNative"], iterationMatcher = "^clean assemble.*"),
            @Scenario(type = PER_DAY, operatingSystems = [LINUX], testProjects = ["withVerboseJUnit"], iterationMatcher = "^cleanTest.*")
        ])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/internal/filepathlite/path.go

    		return string(Separator)
    	}
    	return path
    }
    
    // Dir is filepath.Dir.
    func Dir(path string) string {
    	vol := VolumeName(path)
    	i := len(path) - 1
    	for i >= len(vol) && !IsPathSeparator(path[i]) {
    		i--
    	}
    	dir := Clean(path[len(vol) : i+1])
    	if dir == "." && len(vol) > 2 {
    		// must be UNC
    		return vol
    	}
    	return vol + dir
    }
    
    // VolumeName is filepath.VolumeName.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCleanupExecutor.java

            if (!dir.exists()) {
                // Directory does not exist, nothing to clean up
                return Optional.empty();
            }
    
            if (!gcFile.exists()) {
                // If GC file hasn't been created, then this cache hasn't been used before.
                // We create the GC file, but there's nothing to clean up
                try {
                    FileUtils.touch(gcFile);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. samples/bookinfo/platform/kube/cleanup.sh

    fi
    
    echo "using NAMESPACE=${NAMESPACE}"
    
    # clean up Istio traffic management resources that may have been used
    protos=( destinationrules virtualservices gateways authorizationpolicies )
    for proto in "${protos[@]}"; do
      for resource in $(kubectl get -n "${NAMESPACE}" "$proto" -o name); do
        kubectl delete -n "${NAMESPACE}" "$resource";
      done
    done
    
    # clean up Gateway API resources that may have been used
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractCacheCleanupTest.groovy

                temporaryFolder.createFile("2"),
                temporaryFolder.createFile("3"),
            ]
    
            when:
            cleanupAction(finder(cacheEntries), { it != cacheEntries[2] })
                .clean(cleanableStore, progressMonitor)
    
            then:
            1 * cleanableStore.getReservedCacheFiles() >> [cacheEntries[0]]
            1 * progressMonitor.incrementDeleted()
            1 * progressMonitor.incrementSkipped()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/CleanupAction.java

     * @see CacheBuilder#withCleanupStrategy(CacheCleanupStrategy)
     */
    public interface CleanupAction {
    
        void clean(CleanableStore cleanableStore, CleanupProgressMonitor progressMonitor);
    
        CleanupAction NO_OP = new CleanupAction() {
            @Override
            public void clean(CleanableStore cleanableStore, CleanupProgressMonitor progressMonitor) {
                // no-op
            }
        };
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 19 07:59:23 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. ci/official/utilities/cleanup_docker.sh

    cat <<EOF
    IMPORTANT: These tests ran under docker. This script does not clean up the
    container for you! You can delete the container with:
    
    $ docker rm -f tf
    
    You can also execute more commands within the container with e.g.:
    
    $ docker exec tf bazel clean
    $ docker exec -it tf bash
    EOF
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 10 20:26:29 UTC 2023
    - 998 bytes
    - Viewed (0)
Back to top