lib/dev/cmd/Setup.rb in dev-1.0.153 vs lib/dev/cmd/Setup.rb in dev-1.0.154

- old
+ new

@@ -10,9 +10,15 @@ if !v.nil? && v.kind_of?(Hash) dep=Dev::Dep.new(v) dep.setup_commands.each{|cmd| self << cmd} end } + + if(!Dir.glob("*.csproj").nil? && Dir.glob("*.csproj").length > 0) + self << "{:cmd=>\"<%Dir.mkdir 'bin' unless File.exist?('bin')%>\", :auto=>true}" + self << "{:cmd=>\"<%Dir.mkdir 'bin/Debug' unless File.exist?('bin/Debug')%>\", :auto=>true}" + self << "{:cmd=>\"<%Dir.mkdir 'bin/Release' unless File.exist?('bin/Release')%>\", :auto=>true}" + end end end # class Setup end # module Cmd end # module Dev