Class: Avm::EacRubyBase0::SourceGenerators::Base
- Inherits:
-
Avm::EacRubyBase1::SourceGenerators::Base
- Object
- Avm::EacRubyBase1::SourceGenerators::Base
- Avm::EacRubyBase0::SourceGenerators::Base
show all
- Defined in:
- lib/avm/eac_ruby_base0/source_generators/base.rb,
lib/avm/eac_ruby_base0/source_generators/base/runner.rb,
lib/avm/eac_ruby_base0/source_generators/base/executable.rb,
lib/avm/eac_ruby_base0/source_generators/base/application.rb
Defined Under Namespace
Modules: Application, Executable, Runner
Constant Summary
collapse
- COMMON_DEPENDENCIES =
%w[eac_ruby_base0].freeze
- EXECUTABLES_DIRECTORY =
'exe'
[
"s.bindir = '#{EXECUTABLES_DIRECTORY}'",
"s.executables = s.files.grep(%r{^#{EXECUTABLES_DIRECTORY}/}) { |f| File.basename(f) }"
].freeze
- GEMSPEC_FILES_DIRECTORY_PATHS =
[EXECUTABLES_DIRECTORY].freeze
- GEMSPEC_FILES_FILE_PATHS =
%w[Gemfile Gemfile.lock].freeze
- JOBS =
::Avm::EacRubyBase1::SourceGenerators::Base::JOBS + %w[application executable runner]
- OPTION_EXECUTABLE_NAME =
'executable-name'
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.common_dependency_gems ⇒ Array<String>
25
26
27
|
# File 'lib/avm/eac_ruby_base0/source_generators/base.rb', line 25
def common_dependency_gems
super + COMMON_DEPENDENCIES
end
|
Instance Method Details
31
32
33
|
# File 'lib/avm/eac_ruby_base0/source_generators/base.rb', line 31
def
super + GEMSPEC_EXTRA_LINES
end
|
#gemspec_files_directory_paths ⇒ Array<String>
36
37
38
|
# File 'lib/avm/eac_ruby_base0/source_generators/base.rb', line 36
def gemspec_files_directory_paths
super + GEMSPEC_FILES_DIRECTORY_PATHS
end
|
#gemspec_files_file_paths ⇒ Array<String>
41
42
43
|
# File 'lib/avm/eac_ruby_base0/source_generators/base.rb', line 41
def gemspec_files_file_paths
super + GEMSPEC_FILES_FILE_PATHS
end
|