lib/build.rb in dev_commands-0.0.42 vs lib/build.rb in dev_commands-0.0.43
- old
+ new
@@ -8,10 +8,13 @@
changed = Svn.has_changes? if(File.exists?('.svn') && defined?(Svn))
if(changed)
Dir.glob('*.gemspec'){|gemspec|
add "gem build #{gemspec}" if !File.exist?(Gemspec.gemfile gemspec)
}
- Dir.glob('*.sln'){|sln_file|
+ sln_files=[]
+ sln_files << Dir.glob('*.sln')
+ sln_files << Dir.glob('*/*.sln')
+ sln_files{|sln_file|
vs_version=MSBuild.get_vs_version(sln_file)
if(MSBuild.has_version?(vs_version))
MSBuild.get_configurations(sln_file).each{ |configuration|
MSBuild.get_platforms(sln_file).each{|platform|
#Console.debug "configuration='#{configuration}', platform='#{platform}'"
\ No newline at end of file