Remove unnecessary code from debugger
This commit is contained in:
parent
6dd242e2df
commit
0b8cf49386
@ -109,10 +109,7 @@ class Build
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if ARGV.debug?
|
formula.extend(Debrew::Formula) if ARGV.debug?
|
||||||
formula.extend(Debrew::Formula)
|
|
||||||
formula.resources.each { |r| r.extend(Debrew::Resource) }
|
|
||||||
end
|
|
||||||
|
|
||||||
formula.brew do
|
formula.brew do
|
||||||
formula.patch
|
formula.patch
|
||||||
|
|||||||
@ -30,19 +30,6 @@ module Debrew
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
module Resource
|
|
||||||
def unpack(target=nil)
|
|
||||||
return super if target
|
|
||||||
super do
|
|
||||||
begin
|
|
||||||
yield self
|
|
||||||
rescue Exception => e
|
|
||||||
Debrew.debug(e)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Menu
|
class Menu
|
||||||
Entry = Struct.new(:name, :action)
|
Entry = Struct.new(:name, :action)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user