Module: Exer
- Defined in:
- lib/exer.rb,
lib/exer/make.rb,
lib/exer/version.rb
Overview
Note:
Do not use same name for installer-name and your-gem-binary-name.
Build executable gem installers for Windows, Linux and Mac. Go language is bundled together within the app, so all you need is Linux and Ruby.
Defined Under Namespace
Classes: Make
Constant Summary collapse
- VERSION =
'0.2.1'
Class Method Summary collapse
-
.make(options = {}) {|Exer::Make| ... } ⇒ Object
Class method #make is a shortcut to initialize new Maker instance, and add default functions.
- .system_golang=(arg) ⇒ Object
- .system_golang? ⇒ Boolean
Class Method Details
.make(options = {}) {|Exer::Make| ... } ⇒ Object
Class method #make is a shortcut to initialize new Maker instance, and add default functions.
52 53 54 55 56 57 |
# File 'lib/exer.rb', line 52 def self.make( = {}) maker = Exer::Make.new([:filename]) maker.add_defaults yield(maker) if block_given? maker.build [:exclude] end |
.system_golang=(arg) ⇒ Object
64 65 66 |
# File 'lib/exer.rb', line 64 def system_golang=(arg) @system_golang = arg end |
.system_golang? ⇒ Boolean
60 61 62 |
# File 'lib/exer.rb', line 60 def system_golang? @system_golang == true end |