lib/commands/setup.rb in dev-2.0.137 vs lib/commands/setup.rb in dev-2.0.138

- old
+ new

@@ -9,12 +9,14 @@ Dir.glob('*.gemspec').each{|gemspec_file| add "<%Gemspec.update('#{gemspec_file}')%>" } - Dir.glob('*.sln').each{|sln_file| - add "nuget restore #{sln_file}" - } + if(Dir.glob('**/packages.config').length > 0) + Dir.glob('*.sln').each{|sln_file| + add "nuget restore #{sln_file}" + } + end if(defined?(SVN_EXPORTS)) SVN_EXPORTS.each{|k,v| if(!File.exists?("#{Command.dev_root}/dep/#{k}")) FileUtils.mkdir_p(File.dirname("#{Command.dev_root}/dep/#{k}")) if !File.exists?("#{Command.dev_root}/dep/#{k}") \ No newline at end of file