Skip to content

Commit

Permalink
add walletd support
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Nov 5, 2024
1 parent 17b624b commit be0a901
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Formula/walletd.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
class Walletd < Formula
desc "Walletd: The new Sia wallet"
homepage "https://github.com/SiaFoundation/walletd"
url "https://github.com/SiaFoundation/walletd.git", :tag => "v1.0.1"

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

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

test do
system "#{bin}/walletd", "version"
end
end
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Or `brew tap siafoundation/sia` and then `brew install <formula>`.

- [renterd](https://github.com/SiaFoundation/renterd)
- [hostd](https://github.com/SiaFoundation/hostd)
- [walletd](https://github.com/SiaFoundation/walletd)

## Documentation

Expand Down

0 comments on commit be0a901

Please sign in to comment.