Class: SyntaxTree::Rake::CheckTask

Inherits:
Task
  • Object
show all
Defined in:
lib/syntax_tree/rake/check_task.rb

Overview

A Rake task that runs check on a set of source files.

Example:

require "syntax_tree/rake/check_task"

SyntaxTree::Rake::CheckTask.new do |t|
  t.source_files = "{app,config,lib}/**/*.rb"
end

This will create task that can be run with:

rake stree:check

Instance Attribute Summary

Attributes inherited from Task

#ignore_files, #name, #plugins, #print_width, #source_files, #target_ruby_version

Method Summary

Methods inherited from Task

#initialize

Constructor Details

This class inherits a constructor from SyntaxTree::Rake::Task