Keep DSL related code in one place
This commit is contained in:
		
							parent
							
								
									07660bb7b6
								
							
						
					
					
						commit
						4b0255f7aa
					
				@ -14,7 +14,6 @@ require 'pkg_version'
 | 
			
		||||
class Formula
 | 
			
		||||
  include FileUtils
 | 
			
		||||
  include Utils::Inreplace
 | 
			
		||||
  extend BuildEnvironmentDSL
 | 
			
		||||
 | 
			
		||||
  attr_reader :name, :path, :homepage, :build
 | 
			
		||||
  attr_reader :stable, :devel, :head, :active_spec
 | 
			
		||||
@ -605,6 +604,7 @@ class Formula
 | 
			
		||||
 | 
			
		||||
  # The methods below define the formula DSL.
 | 
			
		||||
  class << self
 | 
			
		||||
    include BuildEnvironmentDSL
 | 
			
		||||
 | 
			
		||||
    attr_reader :keg_only_reason, :cc_failures
 | 
			
		||||
    attr_rw :homepage, :plist_startup, :plist_manual, :revision
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user