Sha256: a1db74106bf89e6e6b358e230d1eff8671dbf13cb08cb50a2414197ebc7934f6

Contents?: true

Size: 761 Bytes

Versions: 62

Compression:

Stored size: 761 Bytes

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} -ext WixNetFxExtension -ext WixBalExtension -ext WixUtilExtension"

      	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
      build_commands
    end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
dev-2.0.257 lib/apps/wix.rb
dev-2.0.256 lib/apps/wix.rb
dev-2.0.255 lib/apps/wix.rb
dev-2.0.254 lib/apps/wix.rb
dev-2.0.253 lib/apps/wix.rb
dev-2.0.252 lib/apps/wix.rb
dev-2.0.251 lib/apps/wix.rb
dev-2.0.250 lib/apps/wix.rb
dev-2.0.249 lib/apps/wix.rb
dev-2.0.248 lib/apps/wix.rb
dev-2.0.247 lib/apps/wix.rb
dev-2.0.246 lib/apps/wix.rb
dev-2.0.245 lib/apps/wix.rb
dev-2.0.244 lib/apps/wix.rb
dev-2.0.243 lib/apps/wix.rb
dev-2.0.242 lib/apps/wix.rb
dev-2.0.241 lib/apps/wix.rb
dev-2.0.240 lib/apps/wix.rb
dev-2.0.239 lib/apps/wix.rb
dev-2.0.238 lib/apps/wix.rb