Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for Files (0.19 sec)

  1. .cm/javadoc_on_new_files.cm

    # its own file.
    
    on:
      - pr_created
      - commit
      - comment_added
    
    automations:
    
      javadoc_on_new_files:
        # Triggered for new Java files that lack Javadoc content.
        if:
    
          - {{ ('javadoc_on_new_files' | isEnabledAutomation(pr)) }}
          - {{ is.java and is.new }}
          - {{ source.diff.files | matchDiffLines(regex=r/\/*\*([\s\S]*?)\//) | nope }}
        run:
          - action: add-label@v1
            args:
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

         * Returns non-empty directories: the mapping of directory to at most 4 leftover files' relative path in the directory.
         */
        private
        fun TestFilesCleanupProjectState.tmpTestFiles(): LeftoverFiles = projectBuildDir.get().asFile.resolve("tmp/teŝt files")
            .listFiles()
            ?.associateWith { dir ->
                val dirPath = dir.toPath()
                Files.walk(dirPath).use { paths ->
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  3. .gitattributes

    * text eol=lf
    
    #
    # The above will handle all files NOT found below
    # https://help.github.com/articles/dealing-with-line-endings/
    # https://github.com/Danimoth/gitattributes
    
    # These are explicitly windows files and should use crlf
    *.bat           text eol=crlf
    
    # These files are text and should be normalized (Convert crlf => lf)
    *.bash          text eol=lf
    *.css           text diff=css
    *.htm           text diff=html
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Sep 02 12:15:16 GMT 2020
    - 1.1K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

            val outputPath = projectDir.resolve("mylib.jar")
            Files.newOutputStream(outputPath).use { outputStream ->
                JarOutputStream(outputStream).use { jarStream ->
                    sourceFiles.forEach { dir ->
                        check(Files.isDirectory(dir)) { "Must be a directory" }
                        Files.walkFileTree(dir, object : SimpleFileVisitor<Path>() {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. .cm/lacks_tests.cm

    colors:
      yellow: 'ffb300'
    
    includes_src_changes: {{ files | match(regex=r/.*\/src\//) | some }}
    includes_test_changes: {{ files | match(regex=r/.*\/(test|integTest|crossVersionTest|docsTest|smokeTest)\//) | some }}
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                            gradleApiInfoJarPrefix = "v"
                            currentDistributionJars = files(v2Jar)
                            baselineDistributionJars = files(v1Jar)
                            currentUpgradedProperties = newUpgradedPropertiesFile
                            baselineUpgradedProperties = oldUpgradedPropertiesFile
                        }
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

    
    private
    fun scriptsCacheDirsUnder(cacheDir: File) =
        scriptCacheDirNames
            .map { File(cacheDir, it) }
            .filter { it.isDirectory }
    
    
    /**
     * Clean up cache files for older versions that aren't multi-process safe.
     */
    fun FileSystemOperations.removeDodgyCacheFiles(dir: Directory) {
        if (dir.asFile.isDirectory) {
            for (cacheDir in dir.asFile.listFiles()) {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. .cm/complex_changes.cm

    automations:
    
      # If a PR is very complex, require 2 approvals
      complex_changes:
        if:
          - {{ ('complex_changes' | isEnabledAutomation(pr)) }}
          - {{ branch | estimatedReviewTime >= 40 }}
          - {{ files | length >= 35 }}
          - {{ includes_src_changes }}
        run:
          - action: set-required-approvals@v1
            args:
              approvals: 2
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-jar.gradle.kts

                componentFilter {
                    it is ProjectComponentIdentifier
                }
            }.files)
            this.externalDependencies.from(runtimeClasspath.incoming.artifactView {
                componentFilter {
                    externalComponents.contains(it)
                }
            }.files)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Mar 28 20:26:58 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  10. build-logic/jvm/src/main/kotlin/gradlebuild/kotlin/tasks/ParameterNamesIndex.kt

        @TaskAction
        fun generate(): Unit =
            destinationFile.get().asFile.let {
                if (sources.isEmpty) it.writeText("")
                else generateParameterNamesResource(sources.files, classpath.files, it)
            }
    
        private
        fun generateParameterNamesResource(sources: Set<File>, classpath: Set<File>, destinationFile: File) {
            val index = extractParameterNamesIndexFrom(sources, classpath)
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
Back to top