Update .goreleaser.yml

This commit is contained in:
Jay Gabriels
2022-02-14 09:35:34 -08:00
parent 43136eeb27
commit 34b2b6f2f2

View File

@@ -47,23 +47,12 @@ brews:
license: "Apache-2.0"
# Packages your package depends on.
dependencies:
- name: go
# dependencies:
# - name: git
test: |
system "#{bin}/ghorg version"
# Custom install script for brew.
# Default is 'bin.install "program"'.
install: |
ENV["GOPATH"] = buildpath
bin_path = buildpath/"src/github.com/gabrie30/ghorg"
bin_path.install Dir["*"]
cd bin_path do
system "go", "build", "-o", bin/"ghorg", "."
end
post_install: |
ohai ""
ohai "***************************"