
- Use constants for placeholders - Monkeypatch to set `HOMEBREW_PREFIX` consistently to placeholder - Use environment variable to set `Dir.home` consistently to placeholder - Use `appdir` short-circuit to set `Cask#appdir` consistently to placeholder - Use `Cask.generating_hash!` to enable "generating mode" with these patches - Fix `Formula#caveats` from JSON Fixes #14505 Fixes #14595
12 lines
305 B
Ruby
12 lines
305 B
Ruby
cask "placeholders" do
|
|
version "2.61"
|
|
sha256 "e44ffa103fbf83f55c8d0b1bea309a43b2880798dae8620b1ee8da5e1095ec68"
|
|
|
|
url "file://#{TEST_FIXTURE_DIR}/cask/transmission-2.61.dmg"
|
|
homepage "https://brew.sh/placeholders"
|
|
|
|
binary "#{appdir}/some/path"
|
|
|
|
caveats "#{HOMEBREW_PREFIX} and #{Dir.home}"
|
|
end
|