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