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
@@ -10,11 +10,11 @@ class Libva_intel_driver_hybrid < Package
|
||||
source_sha256 '03cd7e16acc94f828b6e7f3087863d8ca06e99ffa3385588005b1984bdd56157'
|
||||
|
||||
binary_url({
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libva_intel_driver_hybrid/2.4.1-1_i686/libva_intel_driver_hybrid-2.4.1-1-chromeos-i686.tar.xz',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libva_intel_driver_hybrid/2.4.1-1_i686/libva_intel_driver_hybrid-2.4.1-1-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libva_intel_driver_hybrid/2.4.1-1_x86_64/libva_intel_driver_hybrid-2.4.1-1-chromeos-x86_64.tar.xz'
|
||||
})
|
||||
binary_sha256({
|
||||
i686: 'ff155f22b24b2c58a434e3b866f47f367b92817835d15f62034311ee607dc289',
|
||||
i686: 'ff155f22b24b2c58a434e3b866f47f367b92817835d15f62034311ee607dc289',
|
||||
x86_64: 'e9c740a0bd917ecbb69b822ce9df1609f415776ab5a5e553eb0a83bc93a35f90'
|
||||
})
|
||||
|
||||
@@ -41,6 +41,6 @@ class Libva_intel_driver_hybrid < Package
|
||||
# libva_intel_driver_hybrid configuration
|
||||
export LIBVA_DRIVER_NAME=i965
|
||||
EOF
|
||||
IO.write("#{CREW_DEST_PREFIX}/etc/env.d/libva_intel_driver_hybrid", @env)
|
||||
File.write("#{CREW_DEST_PREFIX}/etc/env.d/libva_intel_driver_hybrid", @env)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user