github.com/wgliang/gometalinter@v2.0.6-0.20180523041418-a75adcf7cb0e+incompatible/.goreleaser.yml (about)

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