Sha256: ffad1f7474194c1b6eaf341f199e78a72f53f87dd512347bd3d6b3612fbb50b8
Contents?: true
Size: 953 Bytes
Versions: 80
Compression:
Stored size: 953 Bytes
Contents
puts __FILE__ if defined?(DEBUG) # # # class Wix def self.get_build_commands wxs_file build_commands=nil if(File.exists?(wxs_file)) if(Environment.windows?) ext='msi' ext='exe' if(IO.read(wxs_file).include?('<Bundle')) extensions='' ['WixNetFxExtension','WixBalExtension','WixUtilExtension','WixUiExtension'].each{|e| extensions="#{extensions}-ext #{e} " } build_commands=Array.new if build_commands.nil? build_commands << "candle #{wxs_file} #{extensions}" if(defined?(VERSION)) build_commands << "light #{File.basename(wxs_file,'.*')}.wixobj -out #{File.basename(wxs_file,'.*')}-#{VERSION}.#{ext} #{extensions}" else build_commands << "light #{File.basename(wxs_file,'.*')}.wixobj #{extensions}" end end end build_commands end end
Version data entries
80 entries across 80 versions & 1 rubygems