11class GitAbsorb < Formula
22 desc "Automatic git commit --fixup"
33 homepage "https://github.com/tummychow/git-absorb"
4- url "https://github.com/tummychow/git-absorb/archive/refs/tags/0.6.17 .tar.gz"
5- sha256 "512ef2bf0e642f8c34eb56aad657413bd9e04595e3bc4650ecf1c0799f148ca4 "
4+ url "https://github.com/tummychow/git-absorb/archive/refs/tags/0.7.0 .tar.gz"
5+ sha256 "65f5b80bcb726a0c40eeda94ccb47fce7f3fc4ed16021465196a37b907083eb8 "
66 license "BSD-3-Clause"
7+ head "https://github.com/tummychow/git-absorb.git" , branch : "master"
78
89 bottle do
910 sha256 cellar : :any , arm64_sequoia : "bb985890d415ff167d823f5ecb8a8e627b97375b81efb58fc00db2995dc806b2"
@@ -14,6 +15,7 @@ class GitAbsorb < Formula
1415 sha256 cellar : :any_skip_relocation , x86_64_linux : "e75f77c1f10cefb7a8400671d7d2eb307ea41d4d36e0aeb7f71c266e0d1590c3"
1516 end
1617
18+ depends_on "asciidoctor" => :build
1719 depends_on "pkgconf" => :build
1820 depends_on "rust" => :build
1921 depends_on "libgit2"
@@ -23,8 +25,11 @@ def install
2325
2426 system "cargo" , "install" , *std_cargo_args
2527
26- man1 . install "Documentation/git-absorb.1"
2728 generate_completions_from_executable ( bin /"git-absorb" , "--gen-completions" )
29+ cd "Documentation" do
30+ system "asciidoctor" , "-b" , "manpage" , "git-absorb.adoc"
31+ man1 . install "git-absorb.1"
32+ end
2833 end
2934
3035 test do
0 commit comments