nikoksr/proji

View on GitHub
.goreleaser.yml

Summary

Maintainability
Test Coverage
env:
  - GO111MODULE=on
before:
  hooks:
    - go mod download
builds:
  - id: darwin-amd64
    binary: proji
    env:
      - CGO_ENABLED=1
      - CC=o64-clang
    main: ./main.go
    goos:
      - darwin
    goarch:
      - amd64
  - id: linux-amd64
    binary: proji
    env:
      - CGO_ENABLED=1
    main: ./main.go
    goos:
      - linux
    goarch:
      - amd64
  - id: windows-amd64
    binary: proji
    env:
      - CGO_ENABLED=1
      - CC=x86_64-w64-mingw32-gcc
    main: ./main.go
    goos:
      - windows
    goarch:
      - amd64
archives:
  - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
    replacements:
      darwin: Darwin
      linux: Linux
      windows: Windows
      amd64: 64bit
      386: 32bit
      arm: ARM
      arm64: ARM64
    format_overrides:
      - goos: windows
        format: zip
changelog:
  sort: asc
  filters:
    exclude:
      - '^docs:'
      - '^test:'
      - '^ci:'
      - Merge pull request
      - Merge branch
checksum:
  name_template: '{{ .ProjectName }}_checksums.txt'
brews:
  - github:
      owner: nikoksr
      name: homebrew-taps
    commit_author:
      name: Niko Köser
      email: koeserniko@gmail.com
    folder: Formula
    homepage: "https://github.com/nikoksr/proji"
    install: |
      bin.install "proji"
    description: "A powerful cross-platform CLI project templating tool."
scoop:
  bucket:
    owner: nikoksr
    name: scoop-bucket
  commit_author:
    name: Niko Köser
    email: koeserniko@gmail.com
  homepage: "https://github.com/nikoksr/proji"
  description: "A powerful cross-platform CLI project templating tool."
  license: MIT
nfpms:
  -
    id: proji-linux-amd64 
    package_name: proji
    file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
    replacements:
      amd64: 64bit
      386: 32bit
      arm: ARM
      arm64: ARM64
      linux: Linux
    homepage: https://github.com/nikoksr/proji
    maintainer: Niko Köser <koeserniko@gmail.com>
    description: A powerful cross-platform CLI project templating tool.
    license: MIT
    formats:
      - deb
      - rpm
    bindir: /usr/bin
snapcrafts: 
  -
    name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
    replacements:
      amd64: 64bit
      386: 32bit
      arm: ARM
      arm64: ARM64
      linux: Linux
    publish: true
    description: |
      **Key Features**

      *   Creates project directories of any size **in seconds**
      *   Project templates are based on **individual config files**
      *   Structures of **GitHub/GitLab repos can be imported** as templates
      *   Structures of **directories can be imported** as templates
      *   Infinitely extendable through integration of **custom shell scripts**
      *   Supports **custom template files**
      *   **Shareable** project configs
      *   Projects are **not bound to any language or framework**
      *   Boosts your **productivity** and simplifies your **workflow**
      *   Works on **Windows**, **macOS** and **Linux**
    summary: A powerful cross-platform CLI project templating tool.
    confinement: strict
    license: MIT
    base: bare