aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-09-23 20:57:41 +0100
committerGitHub2016-09-23 20:57:41 +0100
commitbbc3f1c3a852e6cfd26a7a7c333092fae0520eb4 (patch)
treeb00d5c8faab2d5252cbec95af58763e5e688d234 /Library
parentdd393c73ed176450d4e825ecd831912b3b15f097 (diff)
parent7c27fda11d8e6debe617734fd9dfe42baa1dc2c1 (diff)
downloadbrew-bbc3f1c3a852e6cfd26a7a7c333092fae0520eb4.tar.bz2
Merge pull request #1110 from MikeMcQuaid/test-bot-homebrew-core-style
test-bot: check homebrew/core style.
Diffstat (limited to 'Library')
-rw-r--r--Library/.rubocop_rules.yml2
-rw-r--r--Library/Homebrew/dev-cmd/test-bot.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/Library/.rubocop_rules.yml b/Library/.rubocop_rules.yml
index 11349b8dc..e8a966e60 100644
--- a/Library/.rubocop_rules.yml
+++ b/Library/.rubocop_rules.yml
@@ -116,7 +116,7 @@ Style/FileName:
# FILENAME.rb (ARGV and ENV)
# does not match:
# dashes-and_underscores.rb
- Regex: !ruby/regexp /^((([\dA-Z]+|[\da-z]+)(_([\dA-Z]+|[\da-z]+))*|(\-\-)?([\dA-Z]+|[\da-z]+)(-([\dA-Z]+|[\da-z]+))*))(\.rb)?$/
+ Regex: !ruby/regexp /^((([\dA-Z]+|[\da-z\+]+)(_([\dA-Z]+|[\da-z\+]+))*|(\-\-)?([\dA-Z]+|[\da-z\+\.]+)([-@]([\dA-Z]+|[\da-z\+\.]+))*))(\.rb)?$/
# no percent word array, being friendly to non-ruby users
# TODO: enforce when rubocop has fixed this
diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb
index c1a4d99b7..abf0235e5 100644
--- a/Library/Homebrew/dev-cmd/test-bot.rb
+++ b/Library/Homebrew/dev-cmd/test-bot.rb
@@ -634,6 +634,7 @@ module Homebrew
install_passed = steps.last.passed?
end
end
+ test "brew", "style", formula_name
test "brew", "audit", *audit_args
if install_passed
if formula.stable? && !ARGV.include?("--fast") && !ARGV.include?("--no-bottle") && !formula.bottle_disabled?