-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from SiaFoundation/chris/walletd
Add walletd
- Loading branch information
Showing
6 changed files
with
73 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
class Walletd < Formula | ||
desc "Dedicated Sia wallet" | ||
homepage "https://github.com/SiaFoundation/walletd" | ||
url "https://github.com/SiaFoundation/walletd.git", tag: "v0.8.0" | ||
|
||
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" | ||
end | ||
|
||
test do | ||
system "#{bin}/walletd", "version" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters