Skip to content

Commit

Permalink
jj 0.8.0
Browse files Browse the repository at this point in the history
jj: fix completion build and add manpage

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Jul 16, 2023
1 parent 282c05e commit 25f691a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Formula/jj.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Jj < Formula
desc "Git-compatible distributed version control system"
homepage "https://github.com/martinvonz/jj"
url "https://github.com/martinvonz/jj/archive/refs/tags/v0.7.0.tar.gz"
sha256 "85e73cde738a2b92aeb253ee3a29f113589c19ad11d4244a14e2d0ca5fbfb3c7"
url "https://github.com/martinvonz/jj/archive/refs/tags/v0.8.0.tar.gz"
sha256 "636661cb4eb8248ae98c443bd72464de9b6a150175388559ccb321f2461011f1"
license "Apache-2.0"
head "https://github.com/martinvonz/jj.git", branch: "main"

Expand All @@ -27,7 +27,8 @@ class Jj < Formula

def install
system "cargo", "install", "--no-default-features", "--bin", "jj", *std_cargo_args
generate_completions_from_executable(bin/"jj", "debug", "completion", shell_parameter_format: :flag)
generate_completions_from_executable(bin/"jj", "util", "completion", shell_parameter_format: :flag)
(man1/"jj.1").write Utils.safe_popen_read(bin/"jj", "util", "mangen")
end

test do
Expand Down

0 comments on commit 25f691a

Please sign in to comment.