Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 262 for srcDir (0.15 sec)

  1. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesFilesMiscIntegrationTest.groovy

            when:
            succeeds('cleanTempFiles')
    
            then:
            def srcDir = dslDir.file('src')
            srcDir.file("notes.txt.tmp").assertDoesNotExist()
            srcDir.file("README.md").isFile()
            srcDir.file("main/webapp/web.xml.tmp").assertDoesNotExist()
            srcDir.file("main/webapp/web.xml").isFile()
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/pgo_inl_test.go

    	if err != nil {
    		t.Fatalf("error getting wd: %v", err)
    	}
    	srcDir := filepath.Join(wd, "testdata/pgo/inline")
    
    	// Copy the module to a scratch location so we can add a go.mod.
    	dir := t.TempDir()
    
    	for _, file := range []string{"inline_hot.go", "inline_hot_test.go", profFile} {
    		if err := copyFile(filepath.Join(dir, file), filepath.Join(srcDir, file)); err != nil {
    			t.Fatalf("error copying %s: %v", file, err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/NativeComponentReportOutputNormalizerTest.groovy

    Root project
    ------------------------------------------------------------
    
    Native library 'hello'
    ----------------------
    
    Source sets
        C++ source 'hello:cpp'
            srcDir: src/hello/cpp
    
    Binaries
        Shared library 'hello:sharedLibrary'
            build using task: :helloSharedLibrary
            build type: build type 'debug'
            flavor: flavor 'default'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/groovy/environment/JreJavaHomeGroovyIntegrationTest.groovy

        }
    
        private writeJavaTestSource(String srcDir, String clazzName = "JavaClazz") {
            file(srcDir, "org/test/${clazzName}.java") << """
                package org.test;
                public class ${clazzName} {
                    public static void main(String... args){
    
                    }
                }
                """
        }
    
        private writeGroovyTestSource(String srcDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_gobuild_import.txt

    	"path/filepath"
    	"strings"
    )
    
    func main() {
    	// build.Import should support relative and absolute source dir paths.
    	path := os.Args[1]
    	srcDir := os.Args[2]
    	p1, err := build.Import(path, srcDir, 0)
    	if err != nil {
    		log.Fatal(err)
    	}
    	absSrcDir, err := filepath.Abs(srcDir)
    	if err != nil {
    		log.Fatal(err)
    	}
    	p2, err := build.Import(path, absSrcDir, 0)
    	if err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:16 UTC 2022
    - 3K bytes
    - Viewed (0)
  6. src/go/build/build_test.go

    			t.Logf("%q expands to %q with SRCDIR=%q", test.input, output, expandSrcDirPath)
    		}
    	}
    }
    
    func TestShellSafety(t *testing.T) {
    	tests := []struct {
    		input, srcdir, expected string
    		result                  bool
    	}{
    		{"-I${SRCDIR}/../include", "/projects/src/issue 11868", "-I/projects/src/issue 11868/../include", true},
    		{"-I${SRCDIR}", "~wtf$@%^", "-I~wtf$@%^", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/customModel/languageType/tests/softwareModelExtend-components.out

    ------------------------------------------------------------
    
    DocumentationComponent 'docs'
    -----------------------------
    
    Source sets
        Markdown source 'docs:userguide'
            srcDir: src/docs/userguide
        Text source 'docs:reference'
            srcDir: src/docs/reference
    
    Binaries
        DocumentationBinary 'docs:exploded'
            build using task: :docsExploded
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 559 bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PlatformNativeComponentReportIntegrationTest.groovy

            outputMatches """
    Native library 'someLib'
    ------------------------
    
    Source sets
        Assembler source 'someLib:asm'
            srcDir: src/someLib/asm
        C source 'someLib:c'
            srcDir: src/someLib/c
        C++ source 'someLib:cpp'
            srcDir: src/someLib/cpp
    
    Binaries
        Shared library 'someLib:amd64:free:sharedLibrary'
            build using task: :someLibAmd64FreeSharedLibrary
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/ToolingApiHonorsProjectCustomizationsCrossVersionSpec.groovy

            file('build.gradle').text = '''
    apply plugin: 'java'
    apply plugin: 'eclipse'
    
    sourceSets {
        main {
            java { srcDir 'src' }
            resources { srcDir 'src' }
        }
    
        test {
            java { srcDir 'test' }
            resources { srcDir 'testResources' }
        }
    }
    '''
            //if we don't create the folders eclipse plugin will not build the classpath
            projectDir.create {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. tools/bug-report/pkg/archive/archive.go

    }
    
    // Create creates a gzipped tar file from srcDir and writes it to outPath.
    func Create(srcDir, outPath string) error {
    	mw, err := os.Create(outPath)
    	if err != nil {
    		return err
    	}
    	defer mw.Close()
    	gzw := gzip.NewWriter(mw)
    	defer gzw.Close()
    
    	tw := tar.NewWriter(gzw)
    	defer tw.Close()
    
    	return filepath.Walk(srcDir, func(file string, fi os.FileInfo, err error) error {
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 30 00:10:16 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top