Sha256: 802ccfaa2cb5ccfc210688ebece9fbeb051810fad8f9e3f7468d9b39eb9b1678

Contents?: true

Size: 362 Bytes

Versions: 2

Compression:

Stored size: 362 Bytes

Contents

module Checker
  module Modules
    class Coffeescript < Base
      extensions 'coffee'
      private
      def check_one(file)
        plain_command("cat #{file} | egrep -v '^//=' | coffee -sc > /dev/null")
      end

      def check_for_executable
        command('coffee -v', :show_output => false, :append => ">> /dev/null 2>&1")
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
checker-0.0.4.2 lib/checker/modules/coffeescript.rb
checker-0.0.4.1 lib/checker/modules/coffeescript.rb