Class: Releasy::Builders::OcraBuilder Abstract

Inherits:
WindowsBuilder show all
Defined in:
lib/releasy/builders/ocra_builder.rb

Overview

This class is abstract.

Functionality for a WindowsBuilder that use Ocra to build on Windows.

Direct Known Subclasses

WindowsFolder, WindowsInstaller, WindowsStandalone

Constant Summary

OCRA_COMMAND =
"ocra"
ICON_EXTENSION =
".ico"

Constants inherited from WindowsBuilder

WindowsBuilder::EXECUTABLE_TYPES

Constants included from Mixins::Log

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

Instance Attribute Summary (collapse)

Attributes inherited from WindowsBuilder

#executable_type

Attributes inherited from Builder

#project, #suffix

Instance Method Summary (collapse)

Methods inherited from WindowsBuilder

#effective_executable_type

Methods included from Mixins::CanExcludeEncoding

#exclude_encoding

Methods inherited from Builder

#initialize, #type

Methods included from Mixins::Log

log_level, log_level=

Methods included from Mixins::HasPackagers

#add_package

Constructor Details

This class inherits a constructor from Releasy::Builders::Builder

Instance Attribute Details

- (String) icon

Optional filename of icon to show on executable/installer (.ico).



10
11
12
# File 'lib/releasy/builders/ocra_builder.rb', line 10

def icon
  @icon
end

- (String) ocra_parameters



15
16
17
# File 'lib/releasy/builders/ocra_builder.rb', line 15

def ocra_parameters
  @ocra_parameters
end

Instance Method Details

- (Boolean) valid_for_platform?



17
# File 'lib/releasy/builders/ocra_builder.rb', line 17

def valid_for_platform?; Releasy.win_platform?; end