Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 86 for buildMap (0.11 sec)

  1. src/cmd/vet/testdata/buildtag/buildtag.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file contains tests for the buildtag checker.
    
    // ERRORNEXT "possible malformed [+]build comment"
    // +builder
    // +build !ignore
    
    package testdata
    
    // ERRORNEXT "misplaced \+build comment"
    // +build toolate
    
    var _ = 3
    
    var _ = `
    // +build notacomment
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 20 03:54:48 UTC 2021
    - 420 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build go1.16
    // +build go1.16
    
    // Package buildtag defines an Analyzer that checks build tags.
    package buildtag
    
    import (
    	"go/ast"
    	"go/build/constraint"
    	"go/parser"
    	"go/token"
    	"strings"
    	"unicode"
    
    	"golang.org/x/tools/go/analysis"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. src/cmd/dist/buildtag.go

    Russ Cox <******@****.***> 1635375182 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 03:35:04 UTC 2021
    - 3K bytes
    - Viewed (0)
  4. src/cmd/fix/buildtag_test.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func init() {
    	addTestCases(buildtagTests, buildtag)
    }
    
    var buildtagTests = []testCase{
    	{
    		Name:    "buildtag.oldGo",
    		Version: "go1.10",
    		In: `//go:build yes
    // +build yes
    
    package main
    `,
    	},
    	{
    		Name:    "buildtag.new",
    		Version: "go1.99",
    		In: `//go:build yes
    // +build yes
    
    package main
    `,
    		Out: `//go:build yes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 522 bytes
    - Viewed (0)
  5. src/go/printer/testdata/gobuild7.input

    // license that can be found in the LICENSE file.
    
    // TODO(rsc): Delete this file once Go 1.17 comes out and we can retire Go 1.15 support.
    
    //go:build !go1.16
    // +build !go1.16
    
    // Package buildtag defines an Analyzer that checks build tags.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 20 03:54:46 UTC 2021
    - 369 bytes
    - Viewed (0)
  6. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskDependencyIntegrationTest.groovy

        }
    
        def "can depend on task from subproject of composing build"() {
            given:
            createDirs("buildA", "buildA/a1")
            buildA.settingsFile << """
        include 'a1'
    """
            buildA.buildFile << """
        task("top-level") {
            dependsOn ':a1:delegate'
        }
    
        project(':a1') {
            task delegate {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildNestingIntegrationTest.groovy

                        }
                    }
                }
            """ + buildA.settingsFile.text
            buildA.buildFile.text = """
                plugins { id 'b' version '12' }
            """ + buildA.buildFile.text
    
            when:
            execute(buildA, "go")
    
            then:
            result.assertTaskExecuted(":buildC:jar")
            result.assertTaskExecuted(":buildB:jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. src/cmd/internal/test2json/testdata/vet.test

    === RUN   TestVetDirs/divergent
    === RUN   TestVet/7
    === PAUSE TestVet/7
    === PAUSE TestVetDirs/divergent
    === CONT  TestTags/x_testtag_y
    === CONT  TestTags/testtag
    === RUN   TestVetDirs/buildtag
    === PAUSE TestVetDirs/buildtag
    === CONT  TestVet/0
    === CONT  TestVet/4
    === RUN   TestVetDirs/incomplete
    === PAUSE TestVetDirs/incomplete
    === RUN   TestVetDirs/cgo
    === PAUSE TestVetDirs/cgo
    === CONT  TestVet/7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 01 16:13:47 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  9. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildContinueOnSingleFailureIntegrationTest.groovy

            when:
            buildA.buildFile << """
        task delegate {
            dependsOn gradle.includedBuild('buildB').task(':fails')
            dependsOn gradle.includedBuild('buildB').task(':succeeds')
        }
    """
            buildB.buildFile << """
        // force sequential execution
        tasks.succeeds.mustRunAfter tasks.fails
    """
            fails(buildA, ":delegate")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 06 08:15:28 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  10. src/cmd/internal/test2json/testdata/smiley.test

    === RUN   Test☺☹Dirs/divergent
    === RUN   Test☺☹/7
    === PAUSE Test☺☹/7
    === PAUSE Test☺☹Dirs/divergent
    === CONT  TestTags/x_testtag_y
    === CONT  TestTags/testtag
    === RUN   Test☺☹Dirs/buildtag
    === PAUSE Test☺☹Dirs/buildtag
    === CONT  Test☺☹/0
    === CONT  Test☺☹/4
    === RUN   Test☺☹Dirs/incomplete
    === PAUSE Test☺☹Dirs/incomplete
    === RUN   Test☺☹Dirs/cgo
    === PAUSE Test☺☹Dirs/cgo
    === CONT  Test☺☹/7
    === CONT  Test☺☹/6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 01 16:13:47 UTC 2020
    - 3.3K bytes
    - Viewed (0)
Back to top