Class: Git::Lint::Rake::Tasks
- Inherits:
-
Object
- Object
- Git::Lint::Rake::Tasks
- Includes:
- Rake::DSL
- Defined in:
- lib/git/lint/rake/tasks.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cli: CLI) ⇒ Tasks
constructor
A new instance of Tasks.
- #install ⇒ Object
Constructor Details
Class Method Details
.setup ⇒ Object
12 13 14 |
# File 'lib/git/lint/rake/tasks.rb', line 12 def self.setup new.install end |
Instance Method Details
#install ⇒ Object
20 21 22 23 24 25 |
# File 'lib/git/lint/rake/tasks.rb', line 20 def install desc "Run Git Lint" task :git_lint do cli.start ["--analyze"] end end |