Sha256: afdc62cc81d06fdd90c78f5dc3cd8aca7f28d52455081753567b88ce4d9a3aa4
Contents?: true
Size: 1.22 KB
Versions: 1
Compression:
Stored size: 1.22 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?('<Product')) 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 #elsif(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.181 | lib/apps/wix.rb |