File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 11class Lazydocker < Formula
22 desc "Lazier way to manage everything docker"
33 homepage "https://github.com/jesseduffield/lazydocker"
4- url "https://github.com/jesseduffield/lazydocker.git" ,
5- tag : "v0.24.1" ,
6- revision : "be051153525b018a46f71a2b2ed42cde39a1110c"
4+ url "https://github.com/jesseduffield/lazydocker/archive/refs/tags/v0.24.1.tar.gz"
5+ sha256 "f54197d333a28e658d2eb4d9b22461ae73721ec9e4106ba23ed177fc530c21f4"
76 license "MIT"
87
98 bottle do
@@ -19,7 +18,12 @@ class Lazydocker < Formula
1918 depends_on "go" => :build
2019
2120 def install
22- ldflags = "-s -w -X main.version=#{ version } -X main.buildSource=homebrew"
21+ ldflags = %W[
22+ -s -w
23+ -X main.version=#{ version }
24+ -X main.date=#{ time . iso8601 }
25+ -X main.buildSource=homebrew
26+ ]
2327 system "go" , "build" , "-mod=vendor" , *std_go_args ( ldflags :)
2428 end
2529
You can’t perform that action at this time.
0 commit comments