github.com/dvyukov/gometalinter@v2.0.12-0.20181028185006-9777a28a8438+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      goarch: &goarch
    30        - amd64
    31        - i386
    32      env:
    33        - CGO_ENABLED=0
    34      main: ./
    35      ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
    36  
    37    - binary: gocyclo
    38      goos: *goos
    39      goarch: *goarch
    40      env: &env
    41        - CGO_ENABLED=0
    42        - GOPATH=$PWD/_linters
    43      main: ./_linters/src/github.com/alecthomas/gocyclo
    44  
    45    - binary: nakedret
    46      goos: *goos
    47      goarch: *goarch
    48      env: *env
    49      main: ./_linters/src/github.com/alexkohler/nakedret
    50  
    51    - binary: misspell
    52      goos: *goos
    53      goarch: *goarch
    54      env: *env
    55      main: ./_linters/src/github.com/client9/misspell/cmd/misspell
    56  
    57    - binary: gosec
    58      goos: *goos
    59      goarch: *goarch
    60      env: *env
    61      main: ./_linters/src/github.com/securego/gosec/cmd/gosec
    62  
    63    - binary: golint
    64      goos: *goos
    65      goarch: *goarch
    66      env: *env
    67      main: ./_linters/src/github.com/golang/lint/golint
    68  
    69    - binary: ineffassign
    70      goos: *goos
    71      goarch: *goarch
    72      env: *env
    73      main: ./_linters/src/github.com/gordonklaus/ineffassign
    74  
    75    - binary: goconst
    76      goos: *goos
    77      goarch: *goarch
    78      env: *env
    79      main: ./_linters/src/github.com/jgautheron/goconst/cmd/goconst
    80  
    81    - binary: errcheck
    82      goos: *goos
    83      goarch: *goarch
    84      env: *env
    85      main: ./_linters/src/github.com/kisielk/errcheck
    86  
    87    - binary: maligned
    88      goos: *goos
    89      goarch: *goarch
    90      env: *env
    91      main: ./_linters/src/github.com/mdempsky/maligned
    92  
    93    - binary: unconvert
    94      goos: *goos
    95      goarch: *goarch
    96      env: *env
    97      main: ./_linters/src/github.com/mdempsky/unconvert
    98  
    99    - binary: dupl
   100      goos: *goos
   101      goarch: *goarch
   102      env: *env
   103      main: ./_linters/src/github.com/mibk/dupl
   104  
   105    - binary: structcheck
   106      goos: *goos
   107      goarch: *goarch
   108      env: *env
   109      main: ./_linters/src/github.com/opennota/check/cmd/structcheck
   110  
   111    - binary: varcheck
   112      goos: *goos
   113      goarch: *goarch
   114      env: *env
   115      main: ./_linters/src/github.com/opennota/check/cmd/varcheck
   116  
   117    - binary: safesql
   118      goos: *goos
   119      goarch: *goarch
   120      env: *env
   121      main: ./_linters/src/github.com/stripe/safesql
   122  
   123    - binary: deadcode
   124      goos: *goos
   125      goarch: *goarch
   126      env: *env
   127      main: ./_linters/src/github.com/tsenart/deadcode
   128  
   129    - binary: lll
   130      goos: *goos
   131      goarch: *goarch
   132      env: *env
   133      main: ./_linters/src/github.com/walle/lll/cmd/lll
   134  
   135    - binary: goimports
   136      goos: *goos
   137      goarch: *goarch
   138      env: *env
   139      main: ./_linters/src/golang.org/x/tools/cmd/goimports
   140  
   141    - binary: gotype
   142      goos: *goos
   143      goarch: *goarch
   144      env: *env
   145      main: ./_linters/src/golang.org/x/tools/cmd/gotype
   146  
   147    - binary: gosimple
   148      goos: *goos
   149      goarch: *goarch
   150      env: *env
   151      main: ./_linters/src/honnef.co/go/tools/cmd/gosimple
   152  
   153    - binary: megacheck
   154      goos: *goos
   155      goarch: *goarch
   156      env: *env
   157      main: ./_linters/src/honnef.co/go/tools/cmd/megacheck
   158  
   159    - binary: staticcheck
   160      goos: *goos
   161      goarch: *goarch
   162      env: *env
   163      main: ./_linters/src/honnef.co/go/tools/cmd/staticcheck
   164  
   165    - binary: unused
   166      goos: *goos
   167      goarch: *goarch
   168      env: *env
   169      main: ./_linters/src/honnef.co/go/tools/cmd/unused
   170  
   171    - binary: interfacer
   172      goos: *goos
   173      goarch: *goarch
   174      env: *env
   175      main: ./_linters/src/mvdan.cc/interfacer
   176  
   177    - binary: unparam
   178      goos: *goos
   179      goarch: *goarch
   180      env: *env
   181      main: ./_linters/src/mvdan.cc/unparam
   182  
   183    - binary: gochecknoinits
   184      goos: *goos
   185      goarch: *goarch
   186      env: *env
   187      main: ./_linters/src/4d63.com/gochecknoinits
   188  
   189    - binary: gochecknoglobals
   190      goos: *goos
   191      goarch: *goarch
   192      env: *env
   193      main: ./_linters/src/4d63.com/gochecknoglobals
   194  
   195  archive:
   196    format: tar.gz
   197    wrap_in_directory: true
   198    format_overrides:
   199      - goos: windows
   200        format: zip
   201    name_template: '{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
   202    files:
   203      - COPYING
   204      - README.md
   205  
   206  snapshot:
   207    name_template: SNAPSHOT-{{ .Commit }}
   208  
   209  checksum:
   210    name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'