Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 184 for script (0.09 sec)

  1. src/cmd/go/testdata/script/README

    This directory holds test scripts *.txt run during 'go test cmd/go'.
    To run a specific script foo.txt
    
    	go test cmd/go -run=Script/^foo$
    
    In general script files should have short names: a few words, not whole sentences.
    The first word should be the general category of behavior being tested,
    often the name of a go subcommand (list, build, test, ...) or concept (vendor, pattern).
    
    Each script is a text archive (go doc internal/txtar).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/vcweb/vcweb.go

    // regenerates the repository using a script interpreted by a [script.Engine].
    // The script produces the server's contents for a corresponding root URL and
    // all subdirectories of that URL, which are then cached: subsequent requests
    // for any URL generated by the script will serve the script's previous output
    // until the script is modified.
    //
    // The script engine includes all of the engine's default commands and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/language/language.go

    	sc, err := language.ParseScript(s)
    	return Script{sc}, err
    }
    
    // String returns the script code in title case.
    // It returns "Zzzz" for an unspecified script.
    func (s Script) String() string {
    	return s.scriptID.String()
    }
    
    // IsPrivateUse reports whether this script code is reserved for private use.
    func (s Script) IsPrivateUse() bool {
    	return s.scriptID.IsPrivateUse()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/language/match.go

    		tt = m.default_.tag
    		if m.preferSameScript {
    		outer:
    			for _, w := range want {
    				script, _ := w.Script()
    				if script.scriptID == 0 {
    					// Don't do anything if there is no script, such as with
    					// private subtags.
    					continue
    				}
    				for i, h := range m.supported {
    					if script.scriptID == h.maxScript {
    						tt, index = h.tag, i
    						break outer
    					}
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/DefaultPrecompiledScriptPluginsSupport.kt

     *  - the `.settings.gradle.kts` file name suffix defines a [Settings] script plugin
     *  - and finally, the simpler `.gradle.kts` file name suffix  defines a [Project] script plugin
     *
     * ## Defining the plugin id
     *
     * The Gradle plugin id for a precompiled script plugin is defined via its file name
     * plus optional package declaration in the following manner:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 10:44:10 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

        }
    
        @Test
        fun `can apply script plugin with package name`() {
    
            withFile(
                "gradle/script.gradle.kts",
                """
                package gradle
                task("ok") { doLast { println("ok!") } }
                """
            )
    
            withBuildScript(
                """
                apply(from = "gradle/script.gradle.kts")
                """
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/precompiled/PrecompiledScriptPluginTemplatesTest.kt

        }
    
        @Test
        fun `precompiled script plugin ids are honored by java-gradle-plugin plugin`() {
    
            projectRoot.withFolders {
    
                "plugin" {
    
                    "src/main/kotlin" {
    
                        // Plugin id for script with no package declaration is simply
                        // the file name minus the script file extension.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 11:39:02 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/resolver/KotlinScriptDependenciesResolverTest.kt

    import org.junit.Test
    import org.junit.experimental.categories.Category
    import java.io.File
    import kotlin.reflect.KClass
    import kotlin.script.dependencies.KotlinScriptExternalDependencies
    import kotlin.script.dependencies.ScriptContents
    import kotlin.script.dependencies.ScriptContents.Position
    import kotlin.script.dependencies.ScriptDependenciesResolver.ReportSeverity
    
    
    @Category(Flaky::class) // https://github.com/gradle/gradle-private/issues/3717
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:12:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    							}
    						}
    					}
    				}
    			}
    
    			// Strip the script if it is the default one.
    			base, _ := addTags(Tag{LangID: t.LangID})
    			if base.ScriptID != maxScript {
    				return Tag{LangID: t.LangID, ScriptID: maxScript}
    			}
    			return Tag{LangID: t.LangID}
    		} else if t.ScriptID != 0 {
    			// The parent for an base-script pair with a non-default script is
    			// "und" instead of the base language.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PartialEvaluatorTest.kt

        }
    
        @Test
        fun `Project target - script-plugin - non-empty body`() {
    
            val source =
                ProgramSource("script-plugin.gradle.kts", "a script plugin")
    
            assertThat(
                "reduces to static program that closes target scope then applies base plugins then evaluates script body",
                partialEvaluationOf(
                    Program.Script(source),
                    ProgramKind.ScriptPlugin,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 38.9K bytes
    - Viewed (0)
Back to top