mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -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,17 +9,17 @@ class Peek < Package
|
||||
source_url 'https://github.com/phw/peek/archive/1.3.1.tar.gz'
|
||||
source_sha256 '8104b65b041858b7f7f482e1425f8f22d429524340ad341f95f08b08fe4e8602'
|
||||
|
||||
binary_url ({
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/peek/1.3.1_armv7l/peek-1.3.1-chromeos-armv7l.tar.xz',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/peek/1.3.1_armv7l/peek-1.3.1-chromeos-armv7l.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/peek/1.3.1_i686/peek-1.3.1-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/peek/1.3.1_x86_64/peek-1.3.1-chromeos-x86_64.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/peek/1.3.1_x86_64/peek-1.3.1-chromeos-x86_64.tar.xz'
|
||||
})
|
||||
binary_sha256 ({
|
||||
binary_sha256({
|
||||
aarch64: 'c24c16aff4c322c206f4b6a6d2e0d9d87d0f88aadf7ff95bc09fce9ef2958281',
|
||||
armv7l: 'c24c16aff4c322c206f4b6a6d2e0d9d87d0f88aadf7ff95bc09fce9ef2958281',
|
||||
i686: '093c78bb96a25e6b2400575ff90ba7ddf57288a5ad83ddcba4da79e454f20709',
|
||||
x86_64: '15a73e027a0d2b9b1924b15d39c79625960f6a60556032d0974e868d0e228158',
|
||||
x86_64: '15a73e027a0d2b9b1924b15d39c79625960f6a60556032d0974e868d0e228158'
|
||||
})
|
||||
|
||||
depends_on 'ffmpeg'
|
||||
@@ -31,7 +31,7 @@ class Peek < Package
|
||||
Dir.mkdir 'peek'
|
||||
Dir.chdir 'peek' do
|
||||
system 'cmake',
|
||||
"-DCMAKE_BUILD_TYPE=Release",
|
||||
'-DCMAKE_BUILD_TYPE=Release',
|
||||
"-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX}",
|
||||
'..'
|
||||
system 'make'
|
||||
|
||||
Reference in New Issue
Block a user