lib/artifacts.rb in dev_tasks-0.0.112 vs lib/artifacts.rb in dev_tasks-0.0.113
- old
+ new
@@ -30,7 +30,17 @@
cs_dll_dep=dep.gsub(File.dirname(dep),File.dirname(artifact)).gsub('\\','/')
self << cs_dll_dep if(!self.include?(cs_dll_dep))
}
end
}
+ update
+ end
+
+ def update
+ # C++ dll,lib,h,hpp
+ if(Dir.glob("**/*.{vcproj,vcxproj}").length > 0)
+ Dir.glob("**/*.{lib,dll,h,hpp}").each{|f|
+ self << f
+ }
+ end
end
end
\ No newline at end of file