Module: Dapp::Project::Command::Spush
- Included in:
- Dapp::Project
- Defined in:
- lib/dapp/project/command/spush.rb
Overview
Spush
Instance Method Summary collapse
Instance Method Details
#spush(repo) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/dapp/project/command/spush.rb', line 8 def spush(repo) raise Error::Project, code: :spush_command_unexpected_apps_number unless build_configs.one? Application.new(config: build_configs.first, project: self, ignore_git_fetch: true, should_be_built: true).tap do |app| app.export!(repo, format: '%{repo}:%{tag}') end end |