2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# File 'lib/build.rb', line 2
def update
Dir.glob('*.gemspec'){|gemspec|
add "gem build #{gemspec}"
}
Dir.glob('**/*.sln'){|sln_file|
vs_version=MSBuild.get_vs_version(sln_file)
if(defined?(MSBUILD))
if(MSBUILD.has_key?(vs_version))
MSBuild.get_configurations(f).each{ |configuration|
MSBuild.get_platforms(f).each{|platform|
Console.debug "configuration='#{configuration}', platform='#{platform}'"
self.add "\"#{MSBUILD[vs_version]}\" \"#{f}\" /nologo /p:Configuration=#{configuration} /p:Platform=\"#{platform}\""
}
}
end
end
}
end
|