Skip to content

Commit 81ee8e9

Browse files
BrewTestBotdaeho-ro
authored andcommitted
cargo-sort 2.1.4
1 parent 44ff04c commit 81ee8e9

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Formula/c/cargo-sort.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class CargoSort < Formula
22
desc "Tool to check that your Cargo.toml dependencies are sorted alphabetically"
33
homepage "https://github.com/devinr528/cargo-sort"
4-
url "https://github.com/DevinR528/cargo-sort/archive/refs/tags/v2.1.3.tar.gz"
5-
sha256 "21681504eca0b1e5d53f321d0ca21db1f72ac6ab11a937c1ddc2be20f6e860b8"
4+
url "https://github.com/DevinR528/cargo-sort/archive/refs/tags/v2.1.4.tar.gz"
5+
sha256 "89c1727bed54379ed112aa6ade693abd86beeeb106c6d043520d6b210b3ff685"
66
license any_of: ["Apache-2.0", "MIT"]
77
head "https://github.com/devinr528/cargo-sort.git", branch: "main"
88

@@ -23,6 +23,9 @@ def install
2323
end
2424

2525
test do
26+
# Fix version string, should remove in next release
27+
inreplace "Cargo.toml", "version = \"2.1.3\"", "version = \"#{version}\""
28+
2629
# Show that we can use a different toolchain than the one provided by the `rust` formula.
2730
# https://github.com/Homebrew/homebrew-core/pull/134074#pullrequestreview-1484979359
2831
ENV.prepend_path "PATH", Formula["rustup"].bin

0 commit comments

Comments
 (0)