cli: add .rubocop.yml
This commit is contained in:
parent
c6203c83bd
commit
8246c43e30
4 changed files with 9 additions and 0 deletions
|
@ -15,6 +15,9 @@ AllCops:
|
|||
Include:
|
||||
- lib/*.rb
|
||||
- lib/**/*.rb
|
||||
- libexec/*
|
||||
- libexec/twenty/*
|
||||
- bin/*
|
||||
- test/*_test.rb
|
||||
|
||||
##
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
#!/usr/bin/env ruby
|
||||
# frozen_string_literal: true
|
||||
|
||||
Process.wait spawn([File.join(__dir__, "twenty"), "20"], *ARGV)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Twenty::Command
|
||||
module CommonOptionMixin
|
||||
def self.included(mod)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Twenty::Command::SQLiteMixin
|
||||
def run_command(options)
|
||||
path = options.database || Twenty.default_database
|
||||
|
|
Loading…
Reference in a new issue