Sha256: 8b4e869c61829f97f8ee0c8ba1517261245c19a722cfa8c5079cf444f169f7a7
Contents?: true
Size: 420 Bytes
Versions: 3
Compression:
Stored size: 420 Bytes
Contents
module Checker module Modules class Haml def self.check puts ">> HAML <<" files = Utils.files_modified files.delete_if {|f| !f.ends_with?(".haml")} files.map! do |f| puts "Checking #{f}..." Haml.check_one(f) end files.all_true? end def self.check_one(file) system("haml --check #{file}") end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
checker-0.0.3 | lib/checker/modules/haml.rb |
checker-0.0.2 | lib/checker/modules/haml.rb |
checker-0.0.1 | lib/checker/modules/haml.rb |