Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for writeResources (0.24 sec)

  1. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSingleProjectIntegrationTest.groovy

            mainSolution.assertHasProjects("app")
        }
    
        @ToBeFixedForConfigurationCache
        def "create visual studio solution for single executable"() {
            when:
            app.writeSources(file("src/main"))
            settingsFile << """
                rootProject.name = 'app'
            """
            buildFile << """
                apply plugin: 'cpp-application'
    
                application {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/platform/BinaryNativePlatformIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "library with matching platform is enforced by dependency resolution"() {
            given:
            testApp.executable.writeSources(file("src/exe"))
            testApp.library.writeSources(file("src/hello"))
            when:
            buildFile << """
    model {
        platforms {
            sparc {
                architecture "sparc"
            }
            x86 {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PrebuiltLibrariesIntegrationTest.groovy

        final app = new CppHelloWorldApp()
    
        def "setup"() {
            settingsFile << "rootProject.name = 'test'"
            app.executable.writeSources(file("src/main"))
            app.library.writeSources(file("libs/src/hello"))
    
            file("libs/build.gradle") << """
    apply plugin: 'cpp'
    model {
        flavors {
            english
            french
        }
        components {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativeBinariesIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "assemble task constructs all buildable binaries"() {
            given:
            new CHelloWorldApp().writeSources(file("src/main"))
    
            and:
            buildFile << """
    import org.gradle.nativeplatform.platform.internal.NativePlatforms
    
    apply plugin: 'c'
    
    model {
        platforms {
            unknown {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy

        def "incremental compile is not effected by other compile tasks"() {
            given:
            buildFile << """
    model {
        components {
            other(NativeExecutableSpec)
        }
    }
    """
            app.writeSources(file("src/other"))
            app.commonHeader.writeToDir(file("src/other"))
    
            and:
            outputs.snapshot { run "mainExecutable" }
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativePreCompiledHeaderIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "can set a precompiled header on multiple components" () {
            given:
            writeStandardSourceFiles()
            app.library.writeSources(file("src/hello2"))
    
            when:
            buildFile << preCompiledHeaderComponent()
            buildFile << """
                model {
                    components {
                        hello2(NativeLibrarySpec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationIntegrationTest.groovy

        def "sources are compiled and linked with C++ tools"() {
            settingsFile << "rootProject.name = 'app'"
            def app = new CppCompilerDetectingTestApp()
    
            given:
            app.writeSources(file('src/main'))
    
            and:
            buildFile << """
                apply plugin: 'cpp-application'
             """
    
            expect:
            succeeds "assemble"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 19:11:01 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/html.go

    	if a.Filename == b.Filename {
    		return a.StartLineno < b.StartLineno
    	}
    	return a.Filename < b.Filename
    }
    
    // WriteSources writes lines as source code in a column headed by title.
    // phase is used for collapsing columns and should be unique across the table.
    func (w *HTMLWriter) WriteSources(phase string, all []*FuncLines) {
    	if w == nil {
    		return // avoid generating HTML just to discard it
    	}
    	var buf strings.Builder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 34.8K bytes
    - Viewed (0)
Back to top