Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 681 for esbuild (0.5 sec)

  1. src/cmd/go/internal/imports/build.go

    // lines beginning with '// +build' are taken as build directives.
    //
    // The file is accepted only if each such line lists something
    // matching the file. For example:
    //
    //	// +build windows linux
    //
    // marks the file as applicable only on Windows and Linux.
    //
    // If tags["*"] is true, then ShouldBuild will consider every
    // build tag except "ignore" to be both true and false for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/build.go

    // license that can be found in the LICENSE file.
    
    // This file is a lightly modified copy go/build/build.go with unused parts
    // removed.
    
    package modindex
    
    import (
    	"bytes"
    	"cmd/go/internal/fsys"
    	"cmd/go/internal/str"
    	"errors"
    	"fmt"
    	"go/ast"
    	"go/build"
    	"go/build/constraint"
    	"go/token"
    	"io"
    	"io/fs"
    	"path/filepath"
    	"sort"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. src/cmd/dist/build.go

    	// Now we use it for the build cache, to separate dist's cache
    	// from any other cache the user might have, and for the location
    	// to build the bootstrap versions of the standard library.
    	obj := pathf("%s/pkg/obj", goroot)
    	if !isdir(obj) {
    		xmkdir(obj)
    	}
    	xatexit(func() { xremove(obj) })
    
    	// Create build cache directory.
    	objGobuild := pathf("%s/pkg/obj/go-build", goroot)
    	if rebuildall {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_buildvcs_auto.txt

    # with '-buildvcs=auto'.
    
    go build -o sub.exe ./sub
    go version -m sub.exe
    ! stdout '^\tbuild\tvcs'
    
    ! go build -buildvcs -o sub.exe ./sub
    stderr '\Aerror obtaining VCS status: main package is in repository ".*" but current directory is in repository ".*"\n\tUse -buildvcs=false to disable VCS stamping.\n\z'
    
    cd ./sub
    go build -o sub.exe .
    go version -m sub.exe
    ! stdout '^\tbuild\tvcs'
    
    ! go build -buildvcs -o sub.exe .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:32 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/version_buildvcs_hg.txt

    ! stdout vcs.revision
    ! stdout vcs.time
    stdout '^\tbuild\tvcs.modified=true$'
    cd ..
    
    # Revision and commit time are tagged for repositories with commits.
    exec hg add a README
    exec hg commit -m 'initial commit'
    cd a
    go install
    go version -m $GOBIN/a$GOEXE
    stdout '^\tbuild\tvcs.revision='
    stdout '^\tbuild\tvcs.time='
    stdout '^\tbuild\tvcs.modified=false$'
    rm $GOBIN/a$GOEXE
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 30 18:09:02 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  6. src/cmd/dist/README

    in Go, making bootstrapping a little more involved than in the past.
    The approach is to build the current release of Go with an earlier one.
    
    The process to install Go 1.x, for x ≥ 22, is:
    
    1. Build cmd/dist with Go 1.20.6.
    2. Using dist, build Go 1.x compiler toolchain with Go 1.20.6.
    3. Using dist, rebuild Go 1.x compiler toolchain with itself.
    4. Using dist, build Go 1.x cmd/go (as go_bootstrap) with Go 1.x compiler toolchain.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 25 17:20:22 UTC 2023
    - 1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/build_cache_trimpath.txt

    [short] skip
    env GO111MODULE=on
    
    # Set up fresh GOCACHE.
    env GOCACHE=$WORK/gocache
    mkdir $GOCACHE
    
    cd $WORK
    go build -o a.out
    
    # Varying -trimpath should cause a rebuild.
    go build -x -o a.out -trimpath
    stderr '(compile|gccgo)( |\.exe)'
    stderr 'link( |\.exe)'
    
    # Two distinct versions of the same module with identical content should
    # still be cached separately.
    # Verifies golang.org/issue/35412.
    go get example.com/stack@v1.0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 865 bytes
    - Viewed (0)
  8. src/all.bash

    # license that can be found in the LICENSE file.
    
    set -e
    if [ ! -f make.bash ]; then
    	echo 'all.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    . ./make.bash "$@" --no-banner
    bash run.bash --no-rebuild
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:53:58 UTC 2024
    - 377 bytes
    - Viewed (0)
  9. src/cmd/dist/doc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Dist helps bootstrap, build, and test the Go distribution.
    //
    // Usage:
    //
    //	go tool dist [command]
    //
    // The commands are:
    //
    //	banner         print installation banner
    //	bootstrap      rebuild everything
    //	clean          deletes all built files
    //	env [-p]       print environment (-p: include $PATH)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 645 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/version_build_settings.txt

    go build
    go version -m m$GOEXE
    stdout '^\tbuild\t-compiler=gc$'
    stdout '^\tbuild\tGOOS='
    stdout '^\tbuild\tGOARCH='
    [GOARCH:amd64] stdout '^\tbuild\tGOAMD64='
    ! stdout asmflags|gcflags|ldflags|gccgoflags
    
    # Toolchain flags are added if present.
    # The raw flags are included, with package patterns if specified.
    go build -asmflags=example.com/m=-D=FOO=bar
    go version -m m$GOEXE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top