Skip to content

Commit

Permalink
chdir
Browse files Browse the repository at this point in the history
  • Loading branch information
lionello committed Feb 2, 2024
1 parent 85ebf1b commit aa5bef7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Formula/defang.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ class Defang < Formula
depends_on "go" => :build

def install
system "go", "build", *std_go_args(ldflags: "-s -w")
Dir.chdir("src") do
system "go", "build", *std_go_args(ldflags: "-s -w")
end
end

test do
Expand Down

0 comments on commit aa5bef7

Please sign in to comment.