mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Add Rubocop CI (#7083)
* Rename IgnoredPatterns to AllowedPatterns. * Exclude docopt.rb (not our code) from Rubocop * Disable Style/RedundantReturn * Disable Style/MutableConstant * Disable Style/NumericLiterals * Set Layout/IndentationStyle to spaces * Temporarily disable various cops. * Add Rubocop CI via Octocop * Lint tree with rubocop -A -c .rubocop.yml Co-authored-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
committed by
GitHub
parent
4c0f15a6f3
commit
de24923ee8
@@ -9,9 +9,9 @@ class Uwsgi < Package
|
||||
source_url 'https://github.com/unbit/uwsgi/archive/2.0.17.tar.gz'
|
||||
source_sha256 '3dc2e9b48db92b67bfec1badec0d3fdcc0771316486c5efa3217569da3528bf2'
|
||||
|
||||
binary_url ({
|
||||
binary_url({
|
||||
})
|
||||
binary_sha256 ({
|
||||
binary_sha256({
|
||||
})
|
||||
|
||||
depends_on 'pcre'
|
||||
@@ -21,7 +21,7 @@ class Uwsgi < Package
|
||||
system "echo 'Select plugin(s):' && ls plugins"
|
||||
puts
|
||||
system "echo -n 'Enter selection (separate multiple plugins by a space) [python]: '"
|
||||
plugins = STDIN.gets.chomp
|
||||
plugins = $stdin.gets.chomp
|
||||
puts
|
||||
system "make #{plugins}"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user