Skip to content

Commit 452b83d

Browse files
BrewTestBotbranchv
authored andcommitted
jj 0.26.0
1 parent 23a8b3c commit 452b83d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Formula/j/jj.rb

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
class Jj < Formula
22
desc "Git-compatible distributed version control system"
33
homepage "https://github.com/jj-vcs/jj"
4-
url "https://github.com/jj-vcs/jj/archive/refs/tags/v0.25.0.tar.gz"
5-
sha256 "3a99528539e414a3373f24eb46a0f153d4e52f7035bb06df47bd317a19912ea3"
4+
url "https://github.com/jj-vcs/jj/archive/refs/tags/v0.26.0.tar.gz"
5+
sha256 "099eeb346f32a4968ebb8273566321eff2e6ca6a7de0c9dcfd7eee016b37cba1"
66
license "Apache-2.0"
7-
revision 2
87
head "https://github.com/martinvonz/jj.git", branch: "main"
98

109
bottle do
@@ -42,15 +41,17 @@ def install
4241
system "cargo", "install", *std_cargo_args(path: "cli")
4342

4443
generate_completions_from_executable(bin/"jj", shell_parameter_format: :clap)
45-
46-
(man1/"jj.1").write Utils.safe_popen_read(bin/"jj", "util", "mangen")
44+
system bin/"jj", "util", "install-man-pages", man
4745
end
4846

4947
test do
5048
require "utils/linkage"
5149

52-
system bin/"jj", "init", "--git"
53-
assert_predicate testpath/".jj", :exist?
50+
touch testpath/"README.md"
51+
system bin/"jj", "git", "init"
52+
system bin/"jj", "describe", "-m", "initial commit"
53+
assert_match "README.md", shell_output("#{bin}/jj file list")
54+
assert_match "initial commit", shell_output("#{bin}/jj log")
5455

5556
[
5657
Formula["libgit2"].opt_lib/shared_library("libgit2"),

0 commit comments

Comments
 (0)