From ad676ff1381e28721b497f0d745f43d4967bf17e Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Wed, 17 Jul 2013 22:18:46 -0400 Subject: [PATCH] comment update --- lib/rscons/cache.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rscons/cache.rb b/lib/rscons/cache.rb index 0918ada..14acaa4 100644 --- a/lib/rscons/cache.rb +++ b/lib/rscons/cache.rb @@ -59,11 +59,12 @@ module Rscons # target must be registered in the cache return false unless @cache.has_key?(target) - # command line used to build target must be identical + # command used to build target must be identical return false unless @cache[target][:command] == command cached_deps = @cache[target][:deps].map { |dc| dc[:fname] } if options[:strict_deps] + # depedencies passed in must exactly equal those in the cache return false unless deps == cached_deps else # all dependencies passed in must exist in cache (but cache may have more)