Sha256: 946ab04786a419611394d897ed3d5b7e014c0df42bfe92ff3bf80b23884af328

Contents?: true

Size: 765 Bytes

Versions: 16

Compression:

Stored size: 765 Bytes

Contents

require_relative('msbuild.rb')

class Build < Array
	def update
		Dir.glob('*.gemspec'){|gemspec|
    		add "gem build #{gemspec}"
    	}
    	Dir.glob('**/*.sln'){|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}'"
	        			self.add "\"#{MSBuild.get_version(vs_version)}\" \"#{sln_file}\" /nologo /p:Configuration=#{configuration} /p:Platform=\"#{platform}\""
	      			}
	    		}
            else
                "puts version #{vs_version} not found for MsBuild"
			end
    	}
	end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dev_commands-0.0.41 lib/build.rb
dev_commands-0.0.40 lib/build.rb
dev_commands-0.0.39 lib/build.rb
dev_commands-0.0.38 lib/build.rb
dev_commands-0.0.37 lib/build.rb
dev_commands-0.0.36 lib/build.rb
dev_commands-0.0.35 lib/build.rb
dev_commands-0.0.34 lib/build.rb
dev_commands-0.0.33 lib/build.rb
dev_commands-0.0.32 lib/build.rb
dev_commands-0.0.31 lib/build.rb
dev_commands-0.0.30 lib/build.rb
dev_commands-0.0.29 lib/build.rb
dev_commands-0.0.28 lib/build.rb
dev_commands-0.0.27 lib/build.rb
dev_commands-0.0.26 lib/build.rb