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
@@ -27,17 +27,17 @@ class Xorg_intel_driver < Package
|
||||
--libexecdir=#{CREW_LIB_PREFIX} \
|
||||
--with-default-dri=3"
|
||||
|
||||
#system "env LDFLAGS='-lXv' \
|
||||
# system "env LDFLAGS='-lXv' \
|
||||
# meson #{CREW_MESON_OPTIONS} \
|
||||
# -Dwith-default-dri=3 \
|
||||
# builddir"
|
||||
#
|
||||
#system 'meson configure builddir'
|
||||
#system "ninja -l #{CREW_NPROC.to_i/2} -C builddir"
|
||||
# system 'meson configure builddir'
|
||||
# system "ninja -l #{CREW_NPROC.to_i/2} -C builddir"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
||||
#system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
|
||||
# system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user