brew-test-bot: don't cleanup HOMEBREW_PREFIX.
This commit is contained in:
parent
4c1b546d99
commit
0d19e2be9e
@ -305,6 +305,10 @@ class Test
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if Pathname.pwd == HOMEBREW_PREFIX and ARGV.include? "--cleanup"
|
||||||
|
odie 'cannot use --cleanup from HOMEBREW_PREFIX as it will delete all output.'
|
||||||
|
end
|
||||||
|
|
||||||
if ARGV.named.empty?
|
if ARGV.named.empty?
|
||||||
# With no arguments just build the most recent commit.
|
# With no arguments just build the most recent commit.
|
||||||
Test.run 'HEAD'
|
Test.run 'HEAD'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user