Sha256: b8f1c052a68b2afdf97fd3c5c6d41d8ceb7de436c645f0d27bcc319d97d4a292
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 KB
Contents
puts __FILE__ if defined?(DEBUG) # # # class Wix def self.get_build_commands wxs_file build_commands=nil if(File.exists?(wxs_file)) build_commands=Array.new if build_commands.nil? build_commands << "candle #{wxs_file}" if(IO.read(wxs_file).include?('<Project')) if(defined?(VERSION)) build_commands << "light #{File.basename(wxs_file,'.*')}.wixobj -out #{File.basename(wxs_file,'.*')}-#{VERSION}.msi -ext WixNetFxExtension -ext WixBalExtension -ext WixUtilExtension" else build_commands << "light #{File.basename(wxs_file,'.*')}.wixobj -ext WixNetFxExtension -ext WixBalExtension -ext WixUtilExtension" end end if(IO.read(wxs_file).include?('<Bundle')) if(defined?(VERSION)) build_commands << "light #{File.basename(wxs_file,'.*')}.wixobj -out #{File.basename(wxs_file,'.*')}-#{VERSION}.exe -ext WixNetFxExtension -ext WixBalExtension -ext WixUtilExtension" else build_commands << "light #{File.basename(wxs_file,'.*')}.wixobj -ext WixNetFxExtension -ext WixBalExtension -ext WixUtilExtension" end end end build_commands end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dev-2.0.179 | lib/apps/wix.rb |