require_relative('./dependencies.rb') class Artifacts < Hash def initialize # gem, dev_tasks-0.0.7.gem Dir.glob('*.gemspec') {|f| spec=Gem::Specification.load(f) self[spec.name]="#{spec.name}-#{spec.version.to_s}.gem" } # C# dll, bin/Net4.0/QcNet.dll Dir.glob("*.csproj").each{|p| text = File.read(p) # extract AssemblyName of form: MyLibrary.Test assemblyName=text[/([\w\.]+)([\w\.\\]+)