algernon: use vendored dependencies
Closes #48665. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
851e326667
commit
ab464e6fcd
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class Algernon < Formula
|
||||||
ENV["GOPATH"] = buildpath
|
ENV["GOPATH"] = buildpath
|
||||||
(buildpath/"src/github.com/xyproto/algernon").install buildpath.children
|
(buildpath/"src/github.com/xyproto/algernon").install buildpath.children
|
||||||
cd "src/github.com/xyproto/algernon" do
|
cd "src/github.com/xyproto/algernon" do
|
||||||
system "go", "build", "-o", "algernon"
|
system "go", "build", "-mod=vendor", "-o", "algernon"
|
||||||
|
|
||||||
bin.install "desktop/mdview"
|
bin.install "desktop/mdview"
|
||||||
bin.install "algernon"
|
bin.install "algernon"
|
||||||
|
|
Loading…
Reference in a new issue