Sha256: 9b72126c160a77c9c78b2b6aee9300d36f71719bf54fd6ee82851f4c78259594
Contents?: true
Size: 1.02 KB
Versions: 59
Compression:
Stored size: 1.02 KB
Contents
module Dev module Cmd class Compile < Array def refresh puts_debug "Dev::Cmd::Compile.refresh" strip_auto_entries windows=RUBY_PLATFORM.include?("w32") # jamfiles # vcxproj Dir.glob('**/*.vcxproj').each { |vcxproj| self << "{:cmd=> '<paths,msbuild> #{vcxproj} /property:Configuration=Release /property:Platform=Win32', :auto=>true}" } if windows # csproj csbuild="<paths,msbuild>" csbuild="xbuild" if !RUBY_PLATFORM.include?("w32") Dir.glob('**/*.csproj').each { |csproj| platforms=Dev::MsBuild.extract_platforms(csproj) platforms.each { |platform| skip=(!RUBY_PLATFORM.include?("w32") && platform=="x64") self << "{:cmd=> '#{csbuild} #{csproj} /property:Configuration=Release /property:Platform=\"#{platform}\" /p:OutputPath=./bin/#{platform}/Release', :auto=>true}" if !skip } } # gemspec Dir.glob("*.gemspec").each { |gs| self << "{:cmd=> 'gem build #{gs}', :capture_output=> false, :auto=> true}" } end end # class Compile end # module Cmd end # module Dev
Version data entries
59 entries across 59 versions & 1 rubygems