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:
parent
ecce86f121
commit
d6436729c7
@ -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 -}}
|
||||
|
@ -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+"
|
||||
|
@ -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"
|
||||
|
5
pipeline/brew/testdata/default.rb.golden
vendored
5
pipeline/brew/testdata/default.rb.golden
vendored
@ -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"
|
||||
|
@ -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"
|
||||
|
2
pipeline/brew/testdata/test.rb.golden
vendored
2
pipeline/brew/testdata/test.rb.golden
vendored
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user