Class: Releasy::Builders::OsxApp
- Includes:
- Mixins::CanExcludeEncoding, Mixins::HasGemspecs
- Defined in:
- lib/releasy/builders/osx_app.rb
Overview
Builds an OS X application bundle.
Constant Summary collapse
- TYPE =
:osx_app
- DEFAULT_FOLDER_SUFFIX =
"OSX"
- BINARY_GEMS =
Binary gems included in app.
%w[gosu texplay chipmunk]
- ICON_EXTENSION =
Icon type used in the app.
".icns"
- SOURCE_GEMS_TO_REMOVE =
Source gems included in app that we should remove.
%w[chingu]
- REQUIRED_ENCODING_FILES =
Encoding files that are required, even if we don’t need most of them if we select to Mixins::CanExcludeEncoding#exclude_encoding.
%w[encdb.bundle iso_8859_1.bundle utf_16le.bundle trans/single_byte.bundle trans/transdb.bundle trans/utf_16_32.bundle]
- VALID_GOSU_WRAPPER =
/gosu-mac-wrapper-\d\.\d\.\d+.tar.gz/
Constants included from Mixins::Log
Mixins::Log::DEFAULT_LOG_LEVEL, Mixins::Log::LOG_LEVELS
Instance Attribute Summary collapse
-
#icon ⇒ String
Optional filename of icon to show on app (.icns).
-
#url ⇒ String
Inverse url of application (e.g. ‘org.supergames.blasterbotsfrommars’).
-
#wrapper ⇒ String
Name of .app directory used as the framework for osx app release.
Attributes included from Mixins::HasGemspecs
Attributes inherited from Builder
Method Summary
Methods included from Mixins::CanExcludeEncoding
Methods inherited from Builder
#initialize, #type, #valid_for_platform?
Methods included from Mixins::Log
Methods included from Mixins::HasPackagers
Constructor Details
This class inherits a constructor from Releasy::Builders::Builder
Instance Attribute Details
#icon ⇒ String
Returns Optional filename of icon to show on app (.icns).
22 23 24 |
# File 'lib/releasy/builders/osx_app.rb', line 22 def icon @icon end |
#url ⇒ String
Returns Inverse url of application (e.g. ‘org.supergames.blasterbotsfrommars’).
47 48 49 |
# File 'lib/releasy/builders/osx_app.rb', line 47 def url @url end |
#wrapper ⇒ String
Returns Name of .app directory used as the framework for osx app release.
45 46 47 |
# File 'lib/releasy/builders/osx_app.rb', line 45 def wrapper @wrapper end |