1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

fix: fixed formatting

This commit is contained in:
Carlos Alexandro Becker 2018-04-03 21:13:17 -03:00 committed by Carlos Alexandro Becker
parent ecce86f121
commit d6436729c7
6 changed files with 15 additions and 11 deletions

View File

@ -35,8 +35,8 @@ const formulaTemplate = `class {{ .Name }} < Formula
version "{{ .Version }}"
sha256 "{{ .SHA256 }}"
{{ with .Dependencies -}}
{{ range $index, $element := . -}}
{{- with .Dependencies }}
{{ range $index, $element := . }}
depends_on "{{ . }}"
{{- end }}
{{- end -}}

View File

@ -5,8 +5,9 @@ class BuildFromSource < Formula
head "https://github.com/test/test.git"
version "1.0.1"
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
depends_on "zsh"depends_on "bash"
depends_on "zsh"
depends_on "bash"
depends_on "go" => :build
conflicts_with "gtk+"

View File

@ -4,8 +4,9 @@ class CustomDownloadStrategy < Formula
url "https://github.com/test/test/releases/download/v1.0.1/bin.tar.gz", :using => GitHubPrivateRepositoryReleaseDownloadStrategy
version "1.0.1"
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
depends_on "zsh"depends_on "bash"
depends_on "zsh"
depends_on "bash"
conflicts_with "gtk+"
conflicts_with "qt"

View File

@ -4,8 +4,9 @@ class Default < Formula
url "https://github.com/test/test/releases/download/v1.0.1/bin.tar.gz"
version "1.0.1"
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
depends_on "zsh"depends_on "bash"
depends_on "zsh"
depends_on "bash"
conflicts_with "gtk+"
conflicts_with "qt"

View File

@ -4,8 +4,9 @@ class GithubEnterpriseUrl < Formula
url "http://github.example.org/test/test/releases/download/v1.0.1/bin.tar.gz"
version "1.0.1"
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
depends_on "zsh"depends_on "bash"
depends_on "zsh"
depends_on "bash"
conflicts_with "gtk+"
conflicts_with "qt"

View File

@ -4,7 +4,7 @@ class Test < Formula
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Darwin_x86_64.tar.gz"
version "0.1.3"
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c68"
depends_on "gtk+"
conflicts_with "svn"