test-bot: init added/modified formulae arrays.
This commit is contained in:
parent
bff259330c
commit
eb51f8a5fa
@ -167,6 +167,8 @@ module Homebrew
|
|||||||
@hash = nil
|
@hash = nil
|
||||||
@url = nil
|
@url = nil
|
||||||
@formulae = []
|
@formulae = []
|
||||||
|
@added_formulae = []
|
||||||
|
@modified_formula = []
|
||||||
@steps = []
|
@steps = []
|
||||||
@tap = tap
|
@tap = tap
|
||||||
@repository = Homebrew.homebrew_git_repo @tap
|
@repository = Homebrew.homebrew_git_repo @tap
|
||||||
@ -308,8 +310,8 @@ module Homebrew
|
|||||||
formula_path = "Library/Formula"
|
formula_path = "Library/Formula"
|
||||||
end
|
end
|
||||||
|
|
||||||
@added_formulae = diff_formulae(diff_start_sha1, diff_end_sha1, formula_path, "A")
|
@added_formulae += diff_formulae(diff_start_sha1, diff_end_sha1, formula_path, "A")
|
||||||
@modified_formula = diff_formulae(diff_start_sha1, diff_end_sha1, formula_path, "M")
|
@modified_formula += diff_formulae(diff_start_sha1, diff_end_sha1, formula_path, "M")
|
||||||
@formulae += @added_formulae + @modified_formula
|
@formulae += @added_formulae + @modified_formula
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user