Class: Releasy::Packagers::Exe

Inherits:
Packager
  • Object
show all
Defined in:
lib/releasy/packagers/exe.rb

Overview

Windows self-extracting archive.

If not on Windows, run “releasy install-sfx” after installing 7z, before you can use this.

Examples:

Package a particular build.

Releasy::Project.new do
  name "My App"
  add_build :source do
    add_package :exe
  end
end

Package all builds.

Releasy::Project.new do
  name "My App"
  add_build :source
  add_build :windows_folder
  add_package :exe
end

Constant Summary collapse

TYPE =
:exe
DEFAULT_EXTENSION =
".exe"
SFX_NAME =
"7z.sfx"
SFX_FILE =
File.expand_path("../../../../bin/#{SFX_NAME}", __FILE__)

Constants inherited from Packager

Packager::MD5_READ_SIZE

Constants included from Mixins::Log

Mixins::Log::DEFAULT_LOG_LEVEL, Mixins::Log::LOG_LEVELS

Instance Attribute Summary

Attributes inherited from Packager

#extension, #project

Method Summary

Methods inherited from Packager

#initialize, #type

Methods included from Mixins::Log

log_level, log_level=

Constructor Details

This class inherits a constructor from Releasy::Packagers::Packager