Class: Releasy::Builders::OcraBuilder Abstract
- Inherits:
-
WindowsBuilder
- Object
- Builder
- WindowsBuilder
- Releasy::Builders::OcraBuilder
- 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
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)
-
- (String) icon
Optional filename of icon to show on executable/installer (.ico).
-
- (String) ocra_parameters
Extra options to send to Ocra, but they are unlikely to be needed explicitly.
Attributes inherited from WindowsBuilder
Attributes inherited from Builder
Instance Method Summary (collapse)
Methods inherited from WindowsBuilder
Methods included from Mixins::CanExcludeEncoding
Methods inherited from Builder
Methods included from Mixins::Log
Methods included from Mixins::HasPackagers
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
Extra options to send to Ocra, but they are unlikely to be needed explicitly. '–no-enc' is automatically used if Mixins::CanExcludeEncoding#exclude_encoding is called and '–console' or '–window' is used based on WindowsBuilder#executable_type
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 |