File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11class 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
You can’t perform that action at this time.
0 commit comments