algernon: use vendored dependencies

Closes #48665.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
FX Coudert 2020-01-07 15:25:37 +01:00
parent 851e326667
commit ab464e6fcd

View file

@ -20,7 +20,7 @@ class Algernon < Formula
ENV["GOPATH"] = buildpath
(buildpath/"src/github.com/xyproto/algernon").install buildpath.children
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 "algernon"