gitee.com/lonely0422/gometalinter.git@v3.0.1-0.20190307123442-32416ab75314+incompatible/.goreleaser.yml (about)

     1  ---
     2  project_name: gometalinter
     3  
     4  release:
     5    github:
     6      owner: alecthomas
     7      name: gometalinter
     8  
     9  brew:
    10    name: gometalinter
    11    github:
    12      owner: alecthomas
    13      name: homebrew-tap
    14  
    15    commit_author:
    16      name: goreleaserbot
    17      email: goreleaser@carlosbecker.com
    18  
    19    folder: Formula
    20    homepage: "https://github.com/alecthomas/gometalinter"
    21    description: "Concurrently run Go lint tools and normalise their output."
    22  
    23  builds:
    24    - binary: gometalinter
    25      goos: &goos
    26        - darwin
    27        - windows
    28        - linux
    29        - freebsd
    30        - openbsd
    31        - netbsd
    32      goarch: &goarch
    33        - amd64
    34        - i386
    35        - arm64
    36        - ppc64le
    37      env:
    38        - CGO_ENABLED=0
    39      main: ./
    40      ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
    41  
    42    - binary: gocyclo
    43      goos: *goos
    44      goarch: *goarch
    45      env: &env
    46        - CGO_ENABLED=0
    47        - GOPATH=$PWD/_linters
    48      main: ./_linters/src/github.com/alecthomas/gocyclo
    49  
    50    - binary: nakedret
    51      goos: *goos
    52      goarch: *goarch
    53      env: *env
    54      main: ./_linters/src/github.com/alexkohler/nakedret
    55  
    56    - binary: misspell
    57      goos: *goos
    58      goarch: *goarch
    59      env: *env
    60      main: ./_linters/src/github.com/client9/misspell/cmd/misspell
    61  
    62    - binary: gosec
    63      goos: *goos
    64      goarch: *goarch
    65      env: *env
    66      main: ./_linters/src/github.com/securego/gosec/cmd/gosec
    67  
    68    - binary: golint
    69      goos: *goos
    70      goarch: *goarch
    71      env: *env
    72      main: ./_linters/src/github.com/golang/lint/golint
    73  
    74    - binary: ineffassign
    75      goos: *goos
    76      goarch: *goarch
    77      env: *env
    78      main: ./_linters/src/github.com/gordonklaus/ineffassign
    79  
    80    - binary: goconst
    81      goos: *goos
    82      goarch: *goarch
    83      env: *env
    84      main: ./_linters/src/github.com/jgautheron/goconst/cmd/goconst
    85  
    86    - binary: errcheck
    87      goos: *goos
    88      goarch: *goarch
    89      env: *env
    90      main: ./_linters/src/github.com/kisielk/errcheck
    91  
    92    - binary: maligned
    93      goos: *goos
    94      goarch: *goarch
    95      env: *env
    96      main: ./_linters/src/github.com/mdempsky/maligned
    97  
    98    - binary: unconvert
    99      goos: *goos
   100      goarch: *goarch
   101      env: *env
   102      main: ./_linters/src/github.com/mdempsky/unconvert
   103  
   104    - binary: dupl
   105      goos: *goos
   106      goarch: *goarch
   107      env: *env
   108      main: ./_linters/src/github.com/mibk/dupl
   109  
   110    - binary: structcheck
   111      goos: *goos
   112      goarch: *goarch
   113      env: *env
   114      main: ./_linters/src/github.com/opennota/check/cmd/structcheck
   115  
   116    - binary: varcheck
   117      goos: *goos
   118      goarch: *goarch
   119      env: *env
   120      main: ./_linters/src/github.com/opennota/check/cmd/varcheck
   121  
   122    - binary: safesql
   123      goos: *goos
   124      goarch: *goarch
   125      env: *env
   126      main: ./_linters/src/github.com/stripe/safesql
   127  
   128    - binary: deadcode
   129      goos: *goos
   130      goarch: *goarch
   131      env: *env
   132      main: ./_linters/src/github.com/tsenart/deadcode
   133  
   134    - binary: lll
   135      goos: *goos
   136      goarch: *goarch
   137      env: *env
   138      main: ./_linters/src/github.com/walle/lll/cmd/lll
   139  
   140    - binary: goimports
   141      goos: *goos
   142      goarch: *goarch
   143      env: *env
   144      main: ./_linters/src/golang.org/x/tools/cmd/goimports
   145  
   146    - binary: gotype
   147      goos: *goos
   148      goarch: *goarch
   149      env: *env
   150      main: ./_linters/src/golang.org/x/tools/cmd/gotype
   151  
   152    - binary: staticcheck
   153      goos: *goos
   154      goarch: *goarch
   155      env: *env
   156      main: ./_linters/src/honnef.co/go/tools/cmd/staticcheck
   157  
   158    - binary: interfacer
   159      goos: *goos
   160      goarch: *goarch
   161      env: *env
   162      main: ./_linters/src/mvdan.cc/interfacer
   163  
   164    - binary: unparam
   165      goos: *goos
   166      goarch: *goarch
   167      env: *env
   168      main: ./_linters/src/mvdan.cc/unparam
   169  
   170    - binary: gochecknoinits
   171      goos: *goos
   172      goarch: *goarch
   173      env: *env
   174      main: ./_linters/src/4d63.com/gochecknoinits
   175  
   176    - binary: gochecknoglobals
   177      goos: *goos
   178      goarch: *goarch
   179      env: *env
   180      main: ./_linters/src/4d63.com/gochecknoglobals
   181  
   182  archive:
   183    format: tar.gz
   184    wrap_in_directory: true
   185    format_overrides:
   186      - goos: windows
   187        format: zip
   188    name_template: '{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
   189    files:
   190      - COPYING
   191      - README.md
   192  
   193  snapshot:
   194    name_template: SNAPSHOT-{{ .Commit }}
   195  
   196  checksum:
   197    name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'