Module: Dapp::Dimg::Dapp::Command::Stages::CleanupLocal
- Included in:
- Dapp
- Defined in:
- lib/dapp/dimg/dapp/command/stages/cleanup_local.rb
Instance Method Summary collapse
- #cleanup_local_proper_cache_version_options_dump ⇒ Object
- #cleanup_local_proper_repo_cache_options_dump ⇒ Object
- #stages_cleanup_local ⇒ Object
Instance Method Details
#cleanup_local_proper_cache_version_options_dump ⇒ Object
19 20 21 22 23 |
# File 'lib/dapp/dimg/dapp/command/stages/cleanup_local.rb', line 19 def .merge().tap do |data| break JSON.dump(data) end end |
#cleanup_local_proper_repo_cache_options_dump ⇒ Object
25 26 27 28 29 |
# File 'lib/dapp/dimg/dapp/command/stages/cleanup_local.rb', line 25 def .merge().tap do |data| break JSON.dump(data) end end |
#stages_cleanup_local ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/dapp/dimg/dapp/command/stages/cleanup_local.rb', line 7 def stages_cleanup_local raise ::Dapp::Error::Command, code: :stages_cleanup_required_option unless stages_cleanup_option? if proper_cache_version? ruby2go_cleanup_command(:sync, ) end if proper_repo_cache? ruby2go_cleanup_command(:sync, ) end end |