Class: Tara::Installer
- Inherits:
-
Object
- Object
- Tara::Installer
- Defined in:
- lib/tara/installer.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(package_dir, fetcher, options = {}) ⇒ Installer
constructor
A new instance of Installer.
Constructor Details
#initialize(package_dir, fetcher, options = {}) ⇒ Installer
Returns a new instance of Installer.
6 7 8 9 10 11 12 13 14 |
# File 'lib/tara/installer.rb', line 6 def initialize(package_dir, fetcher, ={}) @package_dir = package_dir @fetcher = fetcher @without_groups = [:without_groups] @app_dir = Pathname.new([:app_dir]) @bundle_env = bundle_env([:bundle_ignore_config]) @shell = [:shell] || Shell @build_command = [:build_command] end |
Instance Method Details
#execute ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/tara/installer.rb', line 16 def execute bundle_gems extract_ruby extract_native_gems strip_tests strip_docs strip_leftovers strip_java_files strip_git_files strip_empty_directories end |