Module: Dapp::Dimg::Dapp::Command::Spush

Included in:
Dapp
Defined in:
lib/dapp/dimg/dapp/command/spush.rb

Instance Method Summary collapse

Instance Method Details

#spushObject



6
7
8
9
10
11
12
13
# File 'lib/dapp/dimg/dapp/command/spush.rb', line 6

def spush
  repo = option_repo
  validate_repo_name!(repo)
  one_dimg!
  Dimg.new(config: build_configs.first, dapp: self, ignore_git_fetch: true, should_be_built: true).tap do |dimg|
    dimg.export!(repo, format: spush_format)
  end
end