Sha256: f3ec93dbbe2edb1cac7f64be463c8b461f004e4bf4a18b911ef418473b85265c
Contents?: true
Size: 494 Bytes
Versions: 2
Compression:
Stored size: 494 Bytes
Contents
module Susanoo::CLI module Commands # Provide the `run` command for project wide usage. module Run extend ::ActiveSupport::Concern included do map 'r' => :run_in desc 'run PLATFORM', 'Run application on PLATFORM.' def run_in(platform = :android) # Build the project first build inside Susanoo::Project.path do system "cordova run #{platform.to_s}" end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
susanoo-0.12.1 | lib/susanoo/cli/project_interface/run.rb |
susanoo-0.12.0 | lib/susanoo/cli/project_interface/run.rb |