Sha256: 9d82ce96402272fbf4f08cc66f4d6da1d79d8b1b0ea4ceb1cfa1fdc51b050bbd
Contents?: true
Size: 783 Bytes
Versions: 4
Compression:
Stored size: 783 Bytes
Contents
module Gym class Manager def work(options) Gym.config = options print_summary return Runner.new.run end private def print_summary config = Gym.config rows = [] rows << ["Project", config[:project]] if config[:project] rows << ["Workspace", config[:workspace]] if config[:workspace] rows << ["Scheme", config[:scheme]] if config[:scheme] rows << ["Configuration", config[:configuration]] if config[:configuration] rows << ["Platform", Gym.project.ios? ? "iOS" : "Mac"] rows << ["Xcode Path", Gym.xcode_path.gsub("/Contents/Developer", "")] puts "" puts Terminal::Table.new( title: "Building Application 🚀".green, rows: rows ) puts "" end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gym-0.4.6 | lib/gym/manager.rb |
gym-0.4.5 | lib/gym/manager.rb |
gym-0.4.4 | lib/gym/manager.rb |
gym-0.4.3 | lib/gym/manager.rb |