Sha256: 43e6ebf5df4c448b6a454a2bf373dfd83fdb366a11e20918472f3f1b76abb7a8

Contents?: true

Size: 537 Bytes

Versions: 21

Compression:

Stored size: 537 Bytes

Contents

# frozen_string_literal: true

require_relative "task"

module SyntaxTree
  module Rake
    # 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
    #
    class CheckTask < Task
      private

      def command
        "check"
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
syntax_tree-6.2.0 lib/syntax_tree/rake/check_task.rb
syntax_tree-6.1.1 lib/syntax_tree/rake/check_task.rb
syntax_tree-6.1.0 lib/syntax_tree/rake/check_task.rb
syntax_tree-6.0.2 lib/syntax_tree/rake/check_task.rb
syntax_tree-6.0.1 lib/syntax_tree/rake/check_task.rb
syntax_tree-6.0.0 lib/syntax_tree/rake/check_task.rb
syntax_tree-5.3.0 lib/syntax_tree/rake/check_task.rb
syntax_tree-5.2.0 lib/syntax_tree/rake/check_task.rb
syntax_tree-5.1.0 lib/syntax_tree/rake/check_task.rb
syntax_tree-5.0.1 lib/syntax_tree/rake/check_task.rb
syntax_tree-5.0.0 lib/syntax_tree/rake/check_task.rb
syntax_tree-4.3.0 lib/syntax_tree/rake/check_task.rb
syntax_tree-4.2.0 lib/syntax_tree/rake/check_task.rb
syntax_tree-4.1.0 lib/syntax_tree/rake/check_task.rb
syntax_tree-4.0.2 lib/syntax_tree/rake/check_task.rb
syntax_tree-4.0.1 lib/syntax_tree/rake/check_task.rb
syntax_tree-4.0.0 lib/syntax_tree/rake/check_task.rb
syntax_tree-3.6.3 lib/syntax_tree/rake/check_task.rb
syntax_tree-3.6.2 lib/syntax_tree/rake/check_task.rb
syntax_tree-3.6.1 lib/syntax_tree/rake/check_task.rb