Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for printVersion (0.12 sec)

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

    replace example.com/q v1.1.0 => ../q1_1_0
    -- p/main.go --
    package main
    
    import "example.com/q"
    
    func main() {
    	q.PrintVersion()
    }
    -- q1_0_0/go.mod --
    module example.com/q
    
    go 1.18
    -- q1_0_0/q.go --
    package q
    
    import "fmt"
    
    func PrintVersion() {
    	fmt.Println("version 1.0.0")
    }
    -- q1_0_5/go.mod --
    module example.com/q
    
    go 1.18
    
    require example.com/r v1.0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. hack/get-build.sh

      echo '    - "release/latest"'
      echo '    - "ci/latest"'
      echo '  See the docs on getting builds for more information about version'
      echo '  publication.'
    }
    
    print_version=false
    
    while getopts ":vh" opt; do
      case ${opt} in
        v)
          print_version="true"
          ;;
        h)
          usage
          exit 0
          ;;
        \?)
          echo "Invalid option: -$OPTARG" >&2
          usage
          exit 1
          ;;
      esac
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 13 10:57:41 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top