|
1 | 1 | class Jj < Formula |
2 | 2 | desc "Git-compatible distributed version control system" |
3 | 3 | 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" |
6 | 6 | license "Apache-2.0" |
7 | | - revision 2 |
8 | 7 | head "https://github.com/martinvonz/jj.git", branch: "main" |
9 | 8 |
|
10 | 9 | bottle do |
11 | | - rebuild 1 |
12 | | - sha256 cellar: :any, arm64_sequoia: "72bf45459f768db11ec4d2f116f1d46b2f63b1197e4d64ef4b3eeaf412b594f8" |
13 | | - sha256 cellar: :any, arm64_sonoma: "36e62f131229425ca98a8b6a8705d4e333879913fd94932bf95fe35dc9ac07a5" |
14 | | - sha256 cellar: :any, arm64_ventura: "705b5e8e49fd8ddb634c21a31e08f924638a8f20ca50e310fec155c1d45fc051" |
15 | | - sha256 cellar: :any, sonoma: "a5c8cebe71747c47222f8a443fe7cef1eaab0b39310a13088a3424f56f1eabf8" |
16 | | - sha256 cellar: :any, ventura: "42c15f2188ac4a023652985cf78d03b7153cb14a826f17ba108889b570efc7c8" |
17 | | - sha256 cellar: :any_skip_relocation, x86_64_linux: "b45531574b6d4bc11e553c9c4c9350f4b66167bed7379c0776ed6f9b5798c495" |
| 10 | + sha256 cellar: :any, arm64_sequoia: "7cd799ab79d243b5b5a4d6e7e76c8099c28b0611eaac75c4bb262ff92512db47" |
| 11 | + sha256 cellar: :any, arm64_sonoma: "87ee2ec2eacd2a8776a81e16b32aa57490a3faa740973bfeb49239241674853b" |
| 12 | + sha256 cellar: :any, arm64_ventura: "0475f8f30621838eda92a15364ab044c870fb6535168d019b0edbc9dbe493e1d" |
| 13 | + sha256 cellar: :any, sonoma: "0fca81f48667c8c017417f7a0a370b15175db25e52cd01332f384de358d5014e" |
| 14 | + sha256 cellar: :any, ventura: "286c3273628ab71e4ac65fc18f10fdb55fbb0fe06af0a57f597800adacf7ef74" |
| 15 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "0f83cfb4bd0cdec091d154063fb68aeb3af0a15c487d35b4fdc60ea79a5b2595" |
18 | 16 | end |
19 | 17 |
|
20 | 18 | depends_on "pkgconf" => :build |
@@ -42,15 +40,17 @@ def install |
42 | 40 | system "cargo", "install", *std_cargo_args(path: "cli") |
43 | 41 |
|
44 | 42 | generate_completions_from_executable(bin/"jj", shell_parameter_format: :clap) |
45 | | - |
46 | | - (man1/"jj.1").write Utils.safe_popen_read(bin/"jj", "util", "mangen") |
| 43 | + system bin/"jj", "util", "install-man-pages", man |
47 | 44 | end |
48 | 45 |
|
49 | 46 | test do |
50 | 47 | require "utils/linkage" |
51 | 48 |
|
52 | | - system bin/"jj", "init", "--git" |
53 | | - assert_predicate testpath/".jj", :exist? |
| 49 | + touch testpath/"README.md" |
| 50 | + system bin/"jj", "git", "init" |
| 51 | + system bin/"jj", "describe", "-m", "initial commit" |
| 52 | + assert_match "README.md", shell_output("#{bin}/jj file list") |
| 53 | + assert_match "initial commit", shell_output("#{bin}/jj log") |
54 | 54 |
|
55 | 55 | [ |
56 | 56 | Formula["libgit2"].opt_lib/shared_library("libgit2"), |
|
0 commit comments