Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

13 bart formula #15

Merged
merged 6 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions Formula/bart.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
class Bart < Formula
desc "Micro-CMS for WebAssembly and Spin"
homepage "https://developer.fermyon.com/bartholomew"
version "0.9.0"

if OS.mac? && Hardware::CPU.intel?
url "https://github.com/fermyon/bartholomew/releases/download/v0.9.0/bart-v0.9.0-macos-amd64.tar.gz"
sha256 "0f4e5a3844b6d5ef4b7d33a50c69ddba002874da15d2821eea5736216c6ec0d9"
end

if OS.mac? && Hardware::CPU.arm?
url "https://github.com/fermyon/bartholomew/releases/download/v0.9.0/bart-v0.9.0-macos-aarch64.tar.gz"
sha256 "85f30737b2eabd5426398b4edaf72d3454fed992d64c7dbeb2c630040588918b"
end

if OS.linux? && Hardware::CPU.intel?
url "https://github.com/fermyon/bartholomew/releases/download/v0.9.0/bart-v0.9.0-linux-amd64.tar.gz"
sha256 "6a95803c3c62f67efccbaed1ebf506fdbe458f22e31fad66622b434265539d64"
end

if OS.linux? && Hardware::CPU.arm?
url "https://github.com/fermyon/bartholomew/releases/download/v0.9.0/bart-v0.9.0-linux-aarch64.tar.gz"
sha256 "5b031b864e03883ddb740aab8fd4ffaf306d043ba86f90bc5c123cef1ea7f006"
end

def install
bin.install "bart"
end

test do
assert_match "bart 0.9.0", shell_output("#{bin}/bart --version")
end
end
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

`brew tap fermyon/tap && brew install fermyon/tap/spin`

### [bart / Bartholomew](https://github.com/fermyon/bartholomew)

`brew tap fermyon/tap && brew install fermyon/tap/bart`

## Documentation

`brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).