lib/artifacts.rb in dev_tasks-0.0.20 vs lib/artifacts.rb in dev_tasks-0.0.21
- old
+ new
@@ -11,10 +11,10 @@
text = File.read(p)
# extract AssemblyName of form: <AssemblyName>MyLibrary.Test</AssemblyName>
assemblyName=text[/<AssemblyName>([\w\.]+)</,1]
outputPath=text[/Release[.\w\W]+<OutputPath>([\w\.\\]+)</,1]
if(!assemblyName.nil? && !outputPath.nil? && !assemblyName.include?("Test"))
- cs_dll = "#{outputPath}\\#{assemblyName}.dll".gsub("\\\\","\\").gsub('/','\\')
+ cs_dll = "#{outputPath}\\#{assemblyName}.dll".gsub("\\\\","\\").gsub('/','\\').gsub('\\','/')
self[assemblyName]=cs_dll
end
}
end
end
\ No newline at end of file