Sha256: a93d8eb9cb5330547062df22c027ea680dfc36fb554214f0f8633060e1f43ad7
Contents?: true
Size: 634 Bytes
Versions: 3
Compression:
Stored size: 634 Bytes
Contents
module Checker module Modules class Javascript < Base extensions 'js' private def check_one(file) plain_command("jsl -process #{file}") end def check_for_executable silent_command('jsl -help:conf', :bundler => false) end def dependency_message str = "Executable not found\n" str << "Install jsl linter binary\n" str << "More info: http://www.javascriptlint.com/download.htm\n" str end # ignore exit status 1 - warnings def success? $? && ($?.exitstatus == 0 || $?.exitstatus == 1) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
checker-0.6.2 | lib/checker/modules/javascript.rb |
checker-0.6.1 | lib/checker/modules/javascript.rb |
checker-0.0.6 | lib/checker/modules/javascript.rb |