diff --git a/Formula/w/watchman.rb b/Formula/w/watchman.rb index 36e04aeffd6cb4..0689db79164807 100644 --- a/Formula/w/watchman.rb +++ b/Formula/w/watchman.rb @@ -4,7 +4,7 @@ class Watchman < Formula url "https://github.com/facebook/watchman/archive/refs/tags/v2024.12.02.00.tar.gz" sha256 "445bda6f262cd23ed305f914249e400c7377ebe21ec971a2ace6c1c3dfad5880" license "MIT" - revision 1 + revision 2 head "https://github.com/facebook/watchman.git", branch: "main" bottle do @@ -70,5 +70,8 @@ def install test do assert_equal(version.to_s, shell_output("#{bin}/watchman -v").chomp) + # Run `version` to validate functionality and check compatibility with fmt + # Related issue: https://github.com/facebook/watchman/issues/1264 + system bin/"watchman", "version" end end