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,31 +9,31 @@ class Glog < Package
|
||||
source_url 'https://github.com/google/glog/archive/v0.3.5.zip'
|
||||
source_sha256 '267103f8a1e9578978aa1dc256001e6529ef593e5aea38193d31c2872ee025e8'
|
||||
|
||||
binary_url ({
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glog/0.3.5_armv7l/glog-0.3.5-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glog/0.3.5_armv7l/glog-0.3.5-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glog/0.3.5_i686/glog-0.3.5-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glog/0.3.5_x86_64/glog-0.3.5-chromeos-x86_64.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/glog/0.3.5_x86_64/glog-0.3.5-chromeos-x86_64.tar.xz'
|
||||
})
|
||||
binary_sha256 ({
|
||||
binary_sha256({
|
||||
aarch64: 'bd0c7e649bb6e1128e44c8989ab4182f60665e50e5d992341d8bf19235a6dd2e',
|
||||
armv7l: 'bd0c7e649bb6e1128e44c8989ab4182f60665e50e5d992341d8bf19235a6dd2e',
|
||||
i686: '0ae1c98ddcbf078e0a7c63e38d8f1c993f2b1d80956b1e208490ad62f687a917',
|
||||
x86_64: '978c0906643f11a9c53c1a523a5d6824e948edb9ebb89cbfa24395486f435f87',
|
||||
x86_64: '978c0906643f11a9c53c1a523a5d6824e948edb9ebb89cbfa24395486f435f87'
|
||||
})
|
||||
|
||||
depends_on 'unzip' => :build
|
||||
|
||||
def self.build
|
||||
system "./configure",
|
||||
system './configure',
|
||||
"--prefix=#{CREW_PREFIX}",
|
||||
"--libdir=#{CREW_LIB_PREFIX}"
|
||||
system "make"
|
||||
system 'make'
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make",
|
||||
system 'make',
|
||||
"DESTDIR=#{CREW_DEST_DIR}",
|
||||
"install"
|
||||
'install'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user