Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,649 for ScripT (0.11 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/plugin/ScriptPluginClassLoadingIntegrationTest.groovy

        def "methods defined in script are available to used script plugins"() {
            given:
            buildScript """
              def addTask(project) {
                project.tasks.create("hello").doLast { println "hello from method" }
              }
    
              apply from: "script.gradle"
            """
    
            file("script.gradle") << "addTask(project)"
    
            when:
            succeeds "hello"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptRunnerFactory.java

                    Class<? extends T> scriptClass = compiledScript.loadClass();
                    script = instantiator.newInstance(scriptClass);
                    script.setScriptSource(source);
                    script.setContextClassloader(contextClassLoader);
                    listener.onScriptClassLoaded(source, scriptClass);
                }
                return script;
            }
    
            @Override
            public M getData() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 02 17:39:25 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/script/scripttest/scripttest.go

    func DefaultConds() map[string]script.Cond {
    	conds := script.DefaultConds()
    	conds["exec"] = CachedExec()
    	conds["short"] = script.BoolCondition("testing.Short()", testing.Short())
    	conds["verbose"] = script.BoolCondition("testing.Verbose()", testing.Verbose())
    	return conds
    }
    
    // Run runs the script from the given filename starting at the given initial state.
    // When the script completes, Run closes the state.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 11 20:12:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. src/cmd/go/scriptcmds_test.go

    }
    
    // scriptStale checks that the named build targets are stale.
    func scriptStale(cmdGo script.Cmd) script.Cmd {
    	return script.Command(
    		script.CmdUsage{
    			Summary: "check that build targets are stale",
    			Args:    "target...",
    		},
    		func(s *script.State, args ...string) (script.WaitFunc, error) {
    			if len(args) == 0 {
    				return nil, script.ErrUsage
    			}
    			tmpl := "{{if .Error}}{{.ImportPath}}: {{.Error.Err}}" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 18:33:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheToolingApiInvocationIntegrationTest.groovy

                    id("java")
                }
                println("script log statement")
            """
    
            when:
            configurationCacheRun("assemble")
    
            then:
            outputContains("script log statement")
    
            when:
            configurationCacheRun("assemble")
    
            then:
            outputDoesNotContain("script log statement")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/view/help.jsp

    	<input type="hidden" id="contextPath" value="${contextPath}" />
    	<script type="text/javascript"
    		src="${fe:url('/js/jquery-3.6.3.min.js')}"></script>
    	<script src="${fe:url('/js/admin/popper.min.js')}" type="text/javascript"></script>
    	<script type="text/javascript" src="${fe:url('/js/bootstrap.min.js')}"></script>
    	<script type="text/javascript" src="${fe:url('/js/suggestor.js')}"></script>
    	<script type="text/javascript" src="${fe:url('/js/help.js')}"></script>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/precompile/v1/PrecompiledScriptTemplates.kt

    import kotlin.script.experimental.api.implicitReceivers
    import kotlin.script.experimental.api.isStandalone
    import kotlin.script.experimental.api.refineConfiguration
    import kotlin.script.experimental.api.with
    import kotlin.script.experimental.host.ScriptingHostConfiguration
    import kotlin.script.extensions.SamWithReceiverAnnotations
    import kotlin.script.templates.ScriptTemplateDefinition
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. src/cmd/go/scriptreadme_test.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).
    The script begins with an actual command script to run
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. src/cmd/go/scriptconds_test.go

    		}
    		conds[name] = cond
    	}
    
    	lazyBool := func(summary string, f func() bool) script.Cond {
    		return script.OnceCondition(summary, func() (bool, error) { return f(), nil })
    	}
    
    	add("abscc", script.Condition("default $CC path is absolute and exists", defaultCCIsAbsolute))
    	add("asan", sysCondition("-asan", platform.ASanSupported, true))
    	add("buildmode", script.PrefixCondition("go supports -buildmode=<suffix>", hasBuildmode))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/internal/language/match.go

    			if Script(x.script) == t.ScriptID {
    				t.setUndefinedLang(Language(x.lang))
    				return t, nil
    			}
    		}
    	}
    	if t.LangID != 0 {
    		// Search matches for lang-script and lang-region, where lang != und.
    		if t.LangID < langNoIndexOffset {
    			x := likelyLang[t.LangID]
    			if x.flags&isList != 0 {
    				list := likelyLangList[x.region : x.region+uint16(x.script)]
    				if t.ScriptID != 0 {
    					for _, x := range list {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top