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

fix: add do not edit header to brew formulas

This commit is contained in:
Carlos Alexandro Becker 2019-01-27 16:37:32 -02:00
parent bc8687b302
commit d183891332
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
8 changed files with 9 additions and 1 deletions

View File

@ -18,7 +18,8 @@ type templateData struct {
CustomBlock []string
}
const formulaTemplate = `{{ if .CustomRequire -}}
const formulaTemplate = `# This file was generated by GoReleaser. DO NOT EDIT.
{{ if .CustomRequire -}}
require_relative "{{ .CustomRequire }}"
{{ end -}}
class {{ .Name }} < Formula

View File

@ -1,3 +1,4 @@
# This file was generated by GoReleaser. DO NOT EDIT.
class BinaryOverridden < Formula
desc "A run pipe test formula"
homepage "https://github.com/goreleaser"

View File

@ -1,3 +1,4 @@
# This file was generated by GoReleaser. DO NOT EDIT.
class CustomBlock < Formula
desc "A run pipe test formula"
homepage "https://github.com/goreleaser"

View File

@ -1,3 +1,4 @@
# This file was generated by GoReleaser. DO NOT EDIT.
class CustomDownloadStrategy < Formula
desc "A run pipe test formula"
homepage "https://github.com/goreleaser"

View File

@ -1,3 +1,4 @@
# This file was generated by GoReleaser. DO NOT EDIT.
require_relative "custom_download_strategy"
class CustomRequire < Formula
desc "A run pipe test formula"

View File

@ -1,3 +1,4 @@
# This file was generated by GoReleaser. DO NOT EDIT.
class Default < Formula
desc "A run pipe test formula"
homepage "https://github.com/goreleaser"

View File

@ -1,3 +1,4 @@
# This file was generated by GoReleaser. DO NOT EDIT.
class GithubEnterpriseUrl < Formula
desc "A run pipe test formula"
homepage "https://github.com/goreleaser"

View File

@ -1,3 +1,4 @@
# This file was generated by GoReleaser. DO NOT EDIT.
class Test < Formula
desc "Some desc"
homepage "https://google.com"