-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
diary 0.15
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
class Diary < Formula | ||
desc "Text-based journaling program" | ||
homepage "https://diary.p0c.ch" | ||
url "https://code.in0rdr.ch/diary/archive/diary-v0.15.tar.gz" | ||
sha256 "51103df0ddb33a1e86bb85e435ba7b7a5ba464ce49234961ca3e3325cd123d4c" | ||
license "MIT" | ||
|
||
def install | ||
Check failure on line 8 in Formula/d/diary.rb GitHub Actions / Linux`brew install --verbose --formula --build-bottle diary` failed on Linux!
Check failure on line 8 in Formula/d/diary.rb GitHub Actions / macOS 15-arm64`brew install --verbose --formula --build-bottle diary` failed on macOS Sequoia (15) on Apple Silicon!
Check failure on line 8 in Formula/d/diary.rb GitHub Actions / macOS 14-arm64`brew install --verbose --formula --build-bottle diary` failed on macOS Sonoma (14) on Apple Silicon!
Check failure on line 8 in Formula/d/diary.rb GitHub Actions / macOS 13-arm64`brew install --verbose --formula --build-bottle diary` failed on macOS Ventura (13) on Apple Silicon!
|
||
system "make" | ||
system "make", "CC=#{ENV.cc}", "PREFIX=#{prefix}", "install" | ||
end | ||
|
||
test do | ||
assert_match "v0.15", shell_output("#{bin}/diary -v") | ||
end | ||
end |