Module: Dapp::Project::Command::Stages::CleanupLocal
- Included in:
- Dapp::Project
- Defined in:
- lib/dapp/project/command/stages/cleanup_local.rb
Overview
CleanupLocal
Instance Method Summary collapse
Instance Method Details
#stages_cleanup_local(repo) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/dapp/project/command/stages/cleanup_local.rb', line 9 def stages_cleanup_local(repo) lock_repo(repo, readonly: true) do raise Error::Project, code: :stages_cleanup_required_option unless stages_cleanup_option? project_containers_flush proper_cache if proper_cache_version? stages_cleanup_by_repo(repo) if proper_repo_cache? proper_git_commit if proper_git_commit? end end |