lib/dev_tasks.rb in dev_tasks-0.0.77 vs lib/dev_tasks.rb in dev_tasks-0.0.78
- old
+ new
@@ -55,10 +55,10 @@
self[:commands].update
self[:up_to_date] = false
if(allartifactsexist && !self[:newest_artifact].nil? && !self[:newest_src_file].nil? && File.exists?(self[:newest_artifact]) && File.exists?(self[:newest_src_file]))
if(File.mtime(self[:newest_artifact]) > File.mtime(self[:newest_src_file]))
- self[:command_order]=['pull'] if(File.mtime(self[:newest_artifact]) > File.mtime(self[:newest_src_file]))
+ self[:command_order]=[] if(File.mtime(self[:newest_artifact]) > File.mtime(self[:newest_src_file]))
self[:up_to_date]=true
end
self[:newest_artifact_mtime]=File.mtime(self[:newest_artifact]).to_s
self[:newest_src_file_mtime]=File.mtime(self[:newest_src_file]).to_s
end