Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 69 for subdir (0.28 sec)

  1. subprojects/core/src/test/groovy/org/gradle/initialization/layout/BuildLayoutFactoryTest.groovy

            and:
            def currentDir = tmpDir.createDir("sub/current")
            def subDir = tmpDir.createDir("sub")
            def settingsFile = subDir.createFile(settingsFilename)
            tmpDir.createFile(settingsFilename)
    
            expect:
            def layout = locator.getLayoutFor(currentDir, true)
            layout.rootDirectory == subDir
            layout.settingsDir == subDir
            layout.settingsFile == settingsFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 09:18:31 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/FileCollectionSpec.groovy

            dir1.file("subdir/f2").createFile()
            TestFile missing = testDir.file("f3")
            testDir.file("f2").createFile()
            testDir.file("ignored1").createFile()
            def collection = containing(file1, dir1, missing)
            def tree = collection.asFileTree
    
            expect:
            assertSetContainsForFileSet(tree, toSet("f1", "f2", "subdir/f2"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. hack/update-gofmt.sh

        git ls-files -cmo --exclude-standard \
            ':!:vendor/*'        `# catches vendor/...` \
            ':!:*/vendor/*'      `# catches any subdir/vendor/...` \
            ':!:third_party/*'   `# catches third_party/...` \
            ':!:*/third_party/*' `# catches third_party/...` \
            ':!:*/testdata/*'    `# catches any subdir/testdata/...` \
            ':(glob)**/*.go' \
            "$@"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/build-organization/cross-project-output-sharing/kotlin/producer/build.gradle.kts

    val makeFile = tasks.register("makeFile") {
        val sharedFile = layout.buildDirectory.file("some-subdir/shared-file.txt")
        outputs.file(sharedFile)
        doFirst {
            sharedFile.get().asFile.writeText("This file is shared across Gradle subprojects.")
        }
    }
    
    val sharedConfiguration by configurations.creating {
        isCanBeResolved = false
    }
    
    artifacts {
        add(sharedConfiguration.name, makeFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 409 bytes
    - Viewed (0)
  5. src/io/fs/format.go

    }
    
    // FormatDirEntry returns a formatted version of dir for human readability.
    // Implementations of [DirEntry] can call this from a String method.
    // The outputs for a directory named subdir and a file named hello.go are:
    //
    //	d subdir/
    //	- hello.go
    func FormatDirEntry(dir DirEntry) string {
    	name := dir.Name()
    	b := make([]byte, 0, 5+len(name))
    
    	// The Type method does not return any permission bits,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:34:35 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. pkg/volume/git_repo/git_repo.go

    		// Done!
    		volumeutil.SetReady(b.getMetaDir())
    		return nil
    	}
    
    	var subdir string
    
    	switch {
    	case len(b.target) != 0 && filepath.Clean(b.target) == ".":
    		// if target dir is '.', use the current dir
    		subdir = filepath.Join(dir)
    	case len(files) == 1:
    		// if target is not '.', use the generated folder
    		subdir = filepath.Join(dir, files[0].Name())
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/AbstractSourceDependencyIntegrationTest.groovy

            def subdir = repo.file("subdir")
            repo.workTree.listFiles().each {
                if (it.name == '.git') {
                    return
                }
                it.copyTo(subdir.file(it.name))
                it.delete()
            }
            commit = repo.commit('updated')
            mappingFor(repo, "org.test:dep", 'rootDir = "subdir"')
    
            expect:
            succeeds('assemble')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. manifests/addons/dashboards/jsonnetfile.json

    {
      "version": 1,
      "dependencies": [
        {
          "source": {
            "git": {
              "remote": "https://github.com/grafana/grafonnet.git",
              "subdir": "gen/grafonnet-latest"
            }
          },
          "version": "main"
        }
      ],
      "legacyImports": true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 266 bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/report/CompositeTestResultsTest.groovy

            "test/other.html"        | "other.html"
            "other/other.html"       | "../other/other.html"
            "index.html"             | "../index.html"
            "test/subdir/other.html" | "subdir/other.html"
        }
    
        private TestResult test() {
            return new TestResult('test', 45, new ClassTestResults(1, 'test', null))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/build-organization/cross-project-output-sharing/groovy/producer/build.gradle

    def makeFile = tasks.register("makeFile") {
        def sharedFile = layout.buildDirectory.file("some-subdir/shared-file.txt")
        outputs.file(sharedFile)
        doFirst {
            sharedFile.get().asFile << "This file is shared across Gradle subprojects."
        }
    }
    
    configurations {
        sharedConfiguration {
            canBeResolved = false
        }
    }
    
    artifacts {
        sharedConfiguration(makeFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 389 bytes
    - Viewed (0)
Back to top