-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
class CeramicOne < Formula | ||
desc "Implementation of the Ceramic protocol in Rust" | ||
Check failure on line 2 in Formula/ceramic-one.rb GitHub Actions / test-bot (ubuntu-22.04)
|
||
homepage "https://ceramic.network" | ||
Check failure on line 3 in Formula/ceramic-one.rb GitHub Actions / test-bot (ubuntu-22.04)
|
||
url "https://github.com/ceramicnetwork/rust-ceramic/releases/download/v0.25.0/ceramic-one_aarch64-apple-darwin_brew-test.tar.gz" | ||
sha256 "5470e699784ec7a679937ad4a0c5f19c7559b025b680b0c7206c78c7e4e58df5" | ||
# Conditional URL and SHA based on architecture | ||
if Hardware::CPU.intel? | ||
Check failure on line 5 in Formula/ceramic-one.rb GitHub Actions / test-bot (ubuntu-22.04)
|
||
url "https://github.com/ceramicnetwork/rust-ceramic/releases/download/v0.25.0/ceramic-one_x86_64-apple-darwin_brew-test.tar.gz" | ||
sha256 "sha256_for_x86_64_version" | ||
Check failure on line 7 in Formula/ceramic-one.rb GitHub Actions / test-bot (ubuntu-22.04)
Check failure on line 7 in Formula/ceramic-one.rb GitHub Actions / test-bot (ubuntu-22.04)
Check failure on line 7 in Formula/ceramic-one.rb GitHub Actions / test-bot (macos-14)
|
||
elsif Hardware::CPU.arm? | ||
url "https://github.com/ceramicnetwork/rust-ceramic/releases/download/v0.25.0/ceramic-one_aarch64-apple-darwin_brew-test.tar.gz" | ||
sha256 "5470e699784ec7a679937ad4a0c5f19c7559b025b680b0c7206c78c7e4e58df5" | ||
end | ||
version "0.25.0" | ||
Check failure on line 12 in Formula/ceramic-one.rb GitHub Actions / test-bot (ubuntu-22.04)
|
||
|
||
Check failure on line 13 in Formula/ceramic-one.rb GitHub Actions / test-bot (ubuntu-22.04)
|
||
def install | ||
Check failure on line 14 in Formula/ceramic-one.rb GitHub Actions / test-bot (ubuntu-22.04)
|
||
bin.install "ceramic-one" | ||
end | ||
end | ||
Check failure on line 17 in Formula/ceramic-one.rb GitHub Actions / test-bot (ubuntu-22.04)
|
||
|