Skip to content

Commit

Permalink
fix audit
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Nov 5, 2024
1 parent 4a3ccb3 commit 2debed7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
10 changes: 5 additions & 5 deletions Formula/hostd.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
class Hostd < Formula
desc "Hostd: A host for Sia"
desc "Hosting daemon for the Sia network"
homepage "https://github.com/SiaFoundation/hostd"
url "https://github.com/SiaFoundation/hostd.git", :tag => "v1.1.2"
url "https://github.com/SiaFoundation/hostd.git", tag: "v1.1.2"

depends_on "go" => :build
depends_on "gcc" => :build
depends_on "go" => :build

def install
system "go", "generate", "./..."
system "go", "build", "-tags='netgo'", "-trimpath", "-o", bin/"hostd", "-a", "-ldflags", "-s -w", "./cmd/hostd"
system "go", "build", "-tags='netgo'", "-trimpath", "-o", bin/"hostd",
"-a", "-ldflags", "-s -w", "./cmd/hostd"
end

test do
system "#{bin}/hostd", "version"
end
end

10 changes: 5 additions & 5 deletions Formula/renterd.rb
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
class Renterd < Formula
desc "Renterd: The Next-Gen Sia Renter"
desc "Renting application for the Sia network"
homepage "https://github.com/SiaFoundation/renterd"
url "https://github.com/SiaFoundation/renterd.git", :tag => "v1.0.8"
url "https://github.com/SiaFoundation/renterd.git", tag: "v1.0.8"

depends_on "go" => :build
depends_on "gcc" => :build
depends_on "go" => :build

def install
system "go", "generate", "./..."
system "go", "build", "-tags='netgo'", "-o", bin/"renterd", "-a", "-ldflags", "-s -w", "./cmd/renterd"
system "go", "build", "-tags='netgo'", "-trimpath", "-o", bin/"renterd",
"-a", "-ldflags", "-s -w", "./cmd/renterd"
end

test do
system "#{bin}/renterd", "version"
end
end

9 changes: 5 additions & 4 deletions Formula/walletd.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
class Walletd < Formula
desc "Walletd: The new Sia wallet"
desc "Dedicated Sia wallet"
homepage "https://github.com/SiaFoundation/walletd"
url "https://github.com/SiaFoundation/walletd.git", :tag => "v0.8.0"
url "https://github.com/SiaFoundation/walletd.git", tag: "v0.8.0"

depends_on "go" => :build
depends_on "gcc" => :build
depends_on "go" => :build

def install
system "go", "generate", "./..."
system "go", "build", "-tags='netgo'", "-trimpath", "-o", bin/"walletd", "-a", "-ldflags", "-s -w", "./cmd/walletd"
system "go", "build", "-tags='netgo'", "-trimpath", "-o", bin/"walletd",
"-a", "-ldflags", "-s -w", "./cmd/walletd"
end

test do
Expand Down

0 comments on commit 2debed7

Please sign in to comment.