Sha256: 67be8b7de2f62cbceec51e76b25bb9f7f9657d555f7cc3b90d122a2f2cd296e4
Contents?: true
Size: 620 Bytes
Versions: 2
Compression:
Stored size: 620 Bytes
Contents
module Checker module Modules class Coffeescript < Base extensions "coffee" private def check_one(file, _opts = {}) Checker::Result.result(self, plain_command("cat #{file} | egrep -v '^//=' | coffee -sc > /dev/null")) end def check_for_executable silent_command("coffee -v", bundler: false) end def dependency_message str = "Executable not found\n" str << "Install coffeescript from npm: 'npm install -g coffee-script'\n" str << "More info: https://github.com/jashkenas/coffee-script/\n" str end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
checker-0.8.0.beta2 | lib/checker/modules/coffeescript.rb |
checker-0.8.0.beta | lib/checker/modules/coffeescript.rb |