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

Martin formula updated #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
19 changes: 15 additions & 4 deletions HomebrewFormula/martin.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
class Martin < Formula
current_version="0.5.0"
current_version="0.8.1"

desc "PostGIS Mapbox Vector Tiles server"
homepage "https://github.com/urbica/martin"
url "https://github.com/urbica/martin/releases/download/v#{current_version}/martin-Darwin-x86_64.tar.gz"
sha256 "b80a97912e1c084e878dd89e979bfbd2525f8db95efa67b33a0c5b3d34783f29"
url "https://github.com/urbica/martin/archive/refs/tags/v#{current_version}.tar.gz"
sha256 "95dfa5c600a33118a0e712f17eb76cac2fdcea4fd90a8afff98a3173e763b0cf"
version "#{current_version}"

on_macos do
on_intel do
url "https://github.com/urbica/martin/releases/download/v#{current_version}/martin-Darwin-x86_64.tar.gz"
sha256 "554171bc4761c1852f0d6509b16af00d67f2d2b7d78ad20d9f819beb5d967e8a"
end
on_arm do
url "https://github.com/urbica/martin/releases/download/v#{current_version}/martin-Darwin-aarch64.tar.gz"
sha256 "f4b30b228e747c72f8690b93d0a85a0bad7ea963c0d3e2b475147d94a0ac632c"
end
end

def install
bin.install "martin"
end
Expand All @@ -22,4 +33,4 @@ def caveats; <<~EOS
test do
`#{bin}/martin --version`
end
end
end