lib/dependencies.rb in dev_tasks-0.0.29 vs lib/dependencies.rb in dev_tasks-0.0.30
- old
+ new
@@ -52,9 +52,10 @@
self["C#"]=cs_deps
end
end
def self.get_dependencies_from_file filename
+ cs_dep_hash=Hash.new
text=File.read(filename)
text.scan(/<Reference Include="([\w\.-]+)"/).each{|r|
cs_dep_hash[r.first.to_s]=r.first.to_s if !cs_dep_hash.has_key? r.first.to_s
}
text.scan(/<HintPath>([\w\.\\\s-]+)</).each{|r|
\ No newline at end of file