mirror of
https://github.com/darwincereska/homebrew-software.git
synced 2026-02-12 04:04:41 -05:00
23 lines
675 B
Ruby
23 lines
675 B
Ruby
class Notevc < Formula
|
|
version "1.0.2"
|
|
desc "Version control for markdown files"
|
|
homepage "https://notevc.io"
|
|
|
|
if OS.mac?
|
|
url "https://github.com/darwincereska/notevc/releases/download/v#{version}/notevc-macos-arm64"
|
|
sha256 "bc9d121de68a4157f678b7f86a1a17d24e69614c59e9a4a4c5dfd559eebdcb24"
|
|
elsif OS.linux?
|
|
url "https://github.com/darwincereska/notevc/releases/download/v#{version}/notevc-linux-x64"
|
|
sha256 "ed2b353538e025f55a315fbb50a78e73e10e9ef2e605dc0ead4649fa7f22f615"
|
|
end
|
|
|
|
def install
|
|
if OS.mac?
|
|
bin.install "notevc-macos-arm64" => "notevc"
|
|
elsif OS.linux?
|
|
bin.install "notevc-linux-x64" => "notevc"
|
|
end
|
|
end
|
|
|
|
end
|