 b58fa4ebb1
			
		
	
	
		b58fa4ebb1
		
			
		
	
	
	
	
		
			
			Companion to https://github.com/Homebrew/brew/pull/7698. Provide better, `odeprecated` messaging for `depends_on :macos => :mavericks` and otherwise just fix up the code that relied on `:mavericks`.
		
			
				
	
	
		
			13 lines
		
	
	
		
			378 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			378 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| cask 'with-depends-on-macos-failure' do
 | |
|   version '1.2.3'
 | |
|   sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
 | |
| 
 | |
|   url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
 | |
|   homepage 'https://brew.sh/with-depends-on-macos-failure'
 | |
| 
 | |
|   # guarantee a mismatched release
 | |
|   depends_on macos: MacOS.version == :catalina ? :mojave : :catalina
 | |
| 
 | |
|   app 'Caffeine.app'
 | |
| end
 |