Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for printVersion (0.1 sec)

  1. src/cmd/go/testdata/script/mod_vendor_auto.txt

    example.com/version
    -- $WORK/modules-bad-1.13.txt --
    # example.com/printversion v1.1.0
    example.com/printversion
    # example.com/version v1.1.0
    example.com/version
    -- $WORK/auto/vendor/example.com/printversion/go.mod --
    module example.com/printversion
    
    require example.com/version v1.0.0
    replace example.com/version v1.0.0 => ../oops v0.0.0
    exclude example.com/version v1.0.1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/install_modcacherw_issue64282.txt

    stderr '^flag provided but not defined: -unknownflag$'
    cp $WORK/extraneous.txt $GOPATH/pkg/mod/example.com/printversion@v0.1.0/extraneous_file.go
    go clean -modcache
    
    
    # Also try it with a 'go install' that succeeds.
    # (But skip in short mode, because linking a binary is expensive.)
    [!short] go install -modcacherw example.com/printversion@v0.1.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 17:53:43 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_run_flags_issue64738.txt

    # Regression test for https://go.dev/issue/64738:
    # a bug in 'go run' caused flags arguments after the requested package to
    # also be parsed as cmd/go flags.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 18:08:32 UTC 2024
    - 211 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/implementing_custom_tasks.adoc

    [.multi-language-sample]
    =====
    .app/build.gradle.kts
    [source,kotlin]
    ----
    tasks.register<PrintVersion>("printVersion") {
    
        // Configuration code
        version = project.version as String
    }
    ----
    =====
    [.multi-language-sample]
    =====
    .app/build.gradle
    [source,groovy]
    ----
    tasks.register(PrintVersion, "printVersion") {
    
        // Configuration code
        version = project.version.toString()
    }
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 05:34:54 UTC 2024
    - 37.2K bytes
    - Viewed (0)
Back to top