Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

just 1.28.0 #173806

Merged
merged 2 commits into from
Jun 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Formula/j/just.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Just < Formula
desc "Handy way to save and run project-specific commands"
homepage "https://github.com/casey/just"
url "https://github.com/casey/just/archive/refs/tags/1.27.0.tar.gz"
sha256 "3f7af44ce43fef5e54df2b64574930e036baadae4a66645e996c4bb2164bf2a3"
url "https://github.com/casey/just/archive/refs/tags/1.28.0.tar.gz"
sha256 "4c421d1e7b62c41055d53822a44752617ff13aebc76abd6713eb99875c127166"
license "CC0-1.0"
head "https://github.com/casey/just.git", branch: "master"

Expand All @@ -26,10 +26,8 @@ class Just < Formula
def install
system "cargo", "install", *std_cargo_args

man1.install "man/just.1"
bash_completion.install "completions/just.bash" => "just"
fish_completion.install "completions/just.fish"
zsh_completion.install "completions/just.zsh" => "_just"
generate_completions_from_executable(bin/"just", "--completions")
(man1/"just.1").write Utils.safe_popen_read(bin/"just", "--man")
end

test do
Expand All @@ -39,5 +37,7 @@ def install
EOS
system bin/"just"
assert_predicate testpath/"it-worked", :exist?

assert_match version.to_s, shell_output("#{bin}/just --version")
end
end
Loading