formula: don't emit standard args for cmake and go
This commit is contained in:
		
							parent
							
								
									d0f40eda16
								
							
						
					
					
						commit
						2c94fca110
					
				@ -1861,9 +1861,15 @@ class Formula
 | 
			
		||||
    # remove "boring" arguments so that the important ones are more likely to
 | 
			
		||||
    # be shown considering that we trim long ohai lines to the terminal width
 | 
			
		||||
    pretty_args = args.dup
 | 
			
		||||
    if cmd == "./configure" && !verbose
 | 
			
		||||
      pretty_args.delete "--disable-dependency-tracking"
 | 
			
		||||
      pretty_args.delete "--disable-debug"
 | 
			
		||||
    unless verbose
 | 
			
		||||
      case cmd
 | 
			
		||||
      when "./configure"
 | 
			
		||||
        pretty_args -= %w[--disable-dependency-tracking --disable-debug --disable-silent-rules]
 | 
			
		||||
      when "cmake"
 | 
			
		||||
        pretty_args -= std_cmake_args
 | 
			
		||||
      when "go"
 | 
			
		||||
        pretty_args -= std_go_args
 | 
			
		||||
      end
 | 
			
		||||
    end
 | 
			
		||||
    pretty_args.each_index do |i|
 | 
			
		||||
      pretty_args[i] = "import setuptools..." if pretty_args[i].to_s.start_with? "import setuptools"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user