lib/artifacts.rb in dev_tasks-0.0.64 vs lib/artifacts.rb in dev_tasks-0.0.65
- old
+ new
@@ -17,10 +17,10 @@
outputType=text[/<OutputType>([\w\.]+)</,1]
outputPath=text[/Release[.\w\W]+<OutputPath>([\w\.\\]+)</,1]
if(!assemblyName.nil? && !outputPath.nil? && !assemblyName.include?("Test"))
extension="dll"
- extension="exe" if(outputType=="WinExe")
+ extension="exe" if(outputType=="WinExe" || outputType=="Exe")
artifact = "#{outputPath}\\#{assemblyName}.#{extension}".gsub("\\\\","\\").gsub('/','\\').gsub('\\','/')
self << artifact if(!self.include?(artifact))
\ No newline at end of file