always compile files which could include other files (css & js)
This commit is contained in:
parent
47997fbe15
commit
23864d43d7
|
@ -21,7 +21,8 @@ class Templater::Actions::Template
|
|||
|
||||
def identical?
|
||||
if File.exists?(destination)
|
||||
return true if File.exists?(source) && File.mtime(source) < File.mtime(destination)
|
||||
extension = File.extname(destination)
|
||||
return true if !%w(.css .js).include?(extension) && File.exists?(source) && File.mtime(source) < File.mtime(destination)
|
||||
File.read(destination) == render
|
||||
else
|
||||
false
|
||||
|
|
|
@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|||
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||
s.authors = ["Thomas Reynolds"]
|
||||
s.date = %q{2009-10-09}
|
||||
s.date = %q{2009-10-12}
|
||||
s.email = %q{tdreyno@gmail.com}
|
||||
s.executables = ["mm-init", "mm-build", "mm-server"]
|
||||
s.extra_rdoc_files = [
|
||||
|
|
Loading…
Reference in a new issue