Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 5,244 for txt2 (0.04 sec)

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

    go list -deps net
    stdout '^vendor/golang.org/x/net'
    ! stdout '^golang.org/x/net'
    cp stdout $WORK/net-deps.txt
    
    
    # It should still report the same package dependencies when viewed from
    # within GOROOT/src.
    
    cd $GOROOT/src
    
    go list -deps net
    stdout '^vendor/golang.org/x/net'
    ! stdout '^golang.org/x/net'
    cmp stdout $WORK/net-deps.txt
    
    
    # However, 'go mod' and 'go get' subcommands should report the original module
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 883 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/work_vendor_main_module_replaced.txt

    # because it is of a main module, but it is still recorded in
    # vendor/modules.txt.
    
    go work vendor
    go list all # make sure the consistency checks pass
    ! stderr .
    
    # Removing the replace causes consistency checks to fail
    cp a_go_mod_no_replace a/go.mod
    ! go list all # consistency checks fail
    stderr 'example.com/b@v0.0.0: is marked as replaced in vendor/modules.txt, but not replaced in the workspace'
    
    
    -- a_go_mod_no_replace --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:09:22 UTC 2023
    - 895 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/work_vendor_modules_txt_conditional.txt

    # This test checks to see if we only start in workspace vendor
    # mode if the modules.txt specifies ## workspace (and only in
    # standard vendor if it doesn't).
    
    # vendor directory produced for workspace, workspace mode
    # runs in mod=vendor
    go work vendor
    cmp vendor/modules.txt want_workspace_modules_txt
    go list -f {{.Dir}} example.com/b
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]b
    
    # vendor directory produced for workspace, module mode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/work_init_gowork.txt

    ! exists foo/foo.work
    go work init
    exists foo/foo.work
    
    env GOWORK=
    cd foo/bar
    ! go work init
    stderr 'already exists'
    
    # Create directories to make go.work files in.
    -- foo/dummy.txt --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 16 15:58:47 UTC 2022
    - 367 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_goline_too_new.txt

    ! go build -mod=vendor .
    stderr '^go: golang.org/x/text in vendor'${/}'modules.txt requires go >= 1.99999 \(running go 1\..+\)$'
    
    -- go.mod --
    module example
    go 1.99999
    
    -- p.go --
    package p
    
    -- go.mod.old --
    module example
    go 1.10
    
    -- go.work.new --
    go 1.99999
    use .
    
    -- go.work.old --
    go 1.10
    use .
    
    -- notvendor/modules.txt --
    # golang.org/x/text v0.9.0
    ## explicit; go 1.99999
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_tidy_compat_ambiguous.txt

    [exec:patch] cmp go.mod go.mod.tidyResult
    [exec:patch] cmp go.sum go.sum.tidyResult
    
    go list -m all
    cmp stdout all-m.txt
    
    go list -f $MODFMT example.net/ambiguous/nested/pkg
    stdout '^example.net/ambiguous/nested v0\.1\.0$'
    ! stderr .
    
    go mod edit -go=1.16
    go list -m all
    cmp stdout all-m.txt
    
    ! go list -f $MODFMT example.net/ambiguous/nested/pkg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_go_version_missing.txt

    # For Go 1.16 modules, 'all' should prune out dependencies of tests,
    # even if the 'go' directive is missing.
    
    go list -mod=readonly all
    stdout '^example.com/dep$'
    ! stdout '^example.com/testdep$'
    cp stdout list-1.txt
    cmp go.mod go.mod.orig
    
    # We should only default to -mod=vendor if the 'go' directive is explicit in the
    # go.mod file. Otherwise, we don't actually know whether the module was written
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 16:11:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/version_replace.txt

    [short] skip
    
    go mod download example.com/printversion@v0.1.0 example.com/printversion@v1.0.0
    go get example.com/printversion@v0.1.0
    go install example.com/printversion
    
    go run example.com/printversion
    cmp stdout out.txt
    
    go version -m $GOPATH/bin/printversion$GOEXE
    stdout '^.*[/\\]bin[/\\]printversion'$GOEXE': .*$'
    stdout '^	path	example.com/printversion$'
    stdout '^	mod	example.com/printversion	v0.1.0$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 989 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/version_buildvcs_git.txt

    # An untracked file is shown as uncommitted, even if it isn't part of the build.
    cp ../../outside/empty.txt .
    go install
    go version -m $GOBIN/a$GOEXE
    stdout '^\tbuild\tvcs.modified=true$'
    rm empty.txt
    rm $GOBIN/a$GOEXE
    
    # An edited file is shown as uncommitted, even if it isn't part of the build.
    cp ../../outside/empty.txt ../README
    go install
    go version -m $GOBIN/a$GOEXE
    stdout '^\tbuild\tvcs.modified=true$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_tidy_compat_irrelevant.txt

    [exec:patch] ! stdout .
    [exec:patch] cmp go.mod go.mod.tidyResult
    [exec:patch] cmp go.sum go.sum.tidyResult
    
    go list -deps -test -f $MODFMT all
    cp stdout out-117.txt
    
    go mod edit -go=1.16
    go list -deps -test -f $MODFMT all
    cmp stdout out-117.txt
    
    
    # If we explicitly drop compatibility with 1.16, we retain fewer checksums,
    # which gives a cleaner go.sum file but causes 1.16 to fail in readonly mode.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top