- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 445 for clen (0.09 sec)
-
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) -
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) -
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) -
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) -
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) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCleanupExecutor.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 16:53:17 UTC 2024 - 5.7K bytes - Viewed (0) -
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) -
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) -
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) -
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)