# This file has been generated, do not edit by hand.
def invoke_rake(platform, task)
  trace = Rake.application.options.trace == true
  system "/usr/bin/rake -r \"#{File.dirname(__FILE__)}/#{platform}.rb\" -f \"config/#{platform}.rb\" \"#{task}\" #{trace ? '--trace' : ''}" or exit 1
end
namespace 'ios' do
  desc "Create an .ipa archive"
  task "archive" do
    invoke_rake 'ios', 'archive'
  end
  desc "Create an .ipa archive for distribution (AppStore)"
  task "archive:distribution" do
    invoke_rake 'ios', 'archive:distribution'
  end
  desc "Build everything"
  task "build" do
    invoke_rake 'ios', 'build'
  end
  desc "Build the device version"
  task "build:device" do
    invoke_rake 'ios', 'build:device'
  end
  desc "Build the simulator version"
  task "build:simulator" do
    invoke_rake 'ios', 'build:simulator'
  end
  desc "Clear local build objects"
  task "clean" do
    invoke_rake 'ios', 'clean'
  end
  desc "Clean all build objects"
  task "clean:all" do
    invoke_rake 'ios', 'clean:all'
  end
  desc "Show project config"
  task "config" do
    invoke_rake 'ios', 'config'
  end
  desc "Same as crashlog:simulator"
  task "crashlog" do
    invoke_rake 'ios', 'crashlog'
  end
  desc "Retrieve and symbolicate crash logs generated by the app on the device, and open the latest generated one"
  task "crashlog:device" do
    invoke_rake 'ios', 'crashlog:device'
  end
  desc "Open the latest crash report generated by the app in the simulator"
  task "crashlog:simulator" do
    invoke_rake 'ios', 'crashlog:simulator'
  end
  desc "Generate ctags"
  task "ctags" do
    invoke_rake 'ios', 'ctags'
  end
  desc "Build the project, then run the simulator"
  task "default" do
    invoke_rake 'ios', 'default'
  end
  desc "Deploy on the device"
  task "device" do
    invoke_rake 'ios', 'device'
  end
  desc "Same as profile:simulator"
  task "profile" do
    invoke_rake 'ios', 'profile'
  end
  desc "Run a build on the device through Instruments"
  task "profile:device" do
    invoke_rake 'ios', 'profile:device'
  end
  desc "List all built-in device Instruments templates"
  task "profile:device:templates" do
    invoke_rake 'ios', 'profile:device:templates'
  end
  desc "Run a build on the simulator through Instruments"
  task "profile:simulator" do
    invoke_rake 'ios', 'profile:simulator'
  end
  desc "List all built-in Simulator Instruments templates"
  task "profile:simulator:templates" do
    invoke_rake 'ios', 'profile:simulator:templates'
  end
  desc "Run the simulator"
  task "simulator" do
    invoke_rake 'ios', 'simulator'
  end
  desc "Same as 'spec:simulator'"
  task "spec" do
    invoke_rake 'ios', 'spec'
  end
  desc "Run the test/spec suite on the device"
  task "spec:device" do
    invoke_rake 'ios', 'spec:device'
  end
  desc "Run the test/spec suite on the simulator"
  task "spec:simulator" do
    invoke_rake 'ios', 'spec:simulator'
  end
  desc "Create a .a static library"
  task "static" do
    invoke_rake 'ios', 'static'
  end
  desc "Same as 'watch:simulator'"
  task "watch" do
    invoke_rake 'ios', 'watch'
  end
  desc "Run the Watch application on the simulator"
  task "watch:simulator" do
    invoke_rake 'ios', 'watch:simulator'
  end
end
namespace 'tvos' do
  desc "Create an .ipa archive"
  task "archive" do
    invoke_rake 'tvos', 'archive'
  end
  desc "Create an .ipa archive for distribution (AppStore)"
  task "archive:distribution" do
    invoke_rake 'tvos', 'archive:distribution'
  end
  desc "Build everything"
  task "build" do
    invoke_rake 'tvos', 'build'
  end
  desc "Build the device version"
  task "build:device" do
    invoke_rake 'tvos', 'build:device'
  end
  desc "Build the simulator version"
  task "build:simulator" do
    invoke_rake 'tvos', 'build:simulator'
  end
  desc "Clear local build objects"
  task "clean" do
    invoke_rake 'tvos', 'clean'
  end
  desc "Clean all build objects"
  task "clean:all" do
    invoke_rake 'tvos', 'clean:all'
  end
  desc "Show project config"
  task "config" do
    invoke_rake 'tvos', 'config'
  end
  desc "Same as crashlog:simulator"
  task "crashlog" do
    invoke_rake 'tvos', 'crashlog'
  end
  desc "Retrieve and symbolicate crash logs generated by the app on the device, and open the latest generated one"
  task "crashlog:device" do
    invoke_rake 'tvos', 'crashlog:device'
  end
  desc "Open the latest crash report generated by the app in the simulator"
  task "crashlog:simulator" do
    invoke_rake 'tvos', 'crashlog:simulator'
  end
  desc "Generate ctags"
  task "ctags" do
    invoke_rake 'tvos', 'ctags'
  end
  desc "Build the project, then run the simulator"
  task "default" do
    invoke_rake 'tvos', 'default'
  end
  desc "Deploy on the device"
  task "device" do
    invoke_rake 'tvos', 'device'
  end
  desc "Run the simulator"
  task "simulator" do
    invoke_rake 'tvos', 'simulator'
  end
  desc "Same as 'spec:simulator'"
  task "spec" do
    invoke_rake 'tvos', 'spec'
  end
  desc "Run the test/spec suite on the device"
  task "spec:device" do
    invoke_rake 'tvos', 'spec:device'
  end
  desc "Run the test/spec suite on the simulator"
  task "spec:simulator" do
    invoke_rake 'tvos', 'spec:simulator'
  end
end
namespace 'android' do
  desc "Create an application package file (.apk)"
  task "build" do
    invoke_rake 'android', 'build'
  end
  desc "Clear local build objects"
  task "clean" do
    invoke_rake 'android', 'clean'
  end
  desc "Clean all build objects"
  task "clean:all" do
    invoke_rake 'android', 'clean:all'
  end
  desc "Show project config"
  task "config" do
    invoke_rake 'android', 'config'
  end
  desc "Generate ctags"
  task "ctags" do
    invoke_rake 'android', 'ctags'
  end
  desc "Same as 'rake emulator'"
  task "default" do
    invoke_rake 'android', 'default'
  end
  desc "Build the app then run it in the device"
  task "device" do
    invoke_rake 'android', 'device'
  end
  desc "Install the app in the device"
  task "device:install" do
    invoke_rake 'android', 'device:install'
  end
  desc "Start the app's main intent in the device"
  task "device:start" do
    invoke_rake 'android', 'device:start'
  end
  desc "Build the app then run it in the emulator"
  task "emulator" do
    invoke_rake 'android', 'emulator'
  end
  desc "Install the app in the emulator"
  task "emulator:install" do
    invoke_rake 'android', 'emulator:install'
  end
  desc "Start the app's main intent in the emulator"
  task "emulator:start" do
    invoke_rake 'android', 'emulator:start'
  end
  desc "Create an application package file (.apk) for release (Google Play)"
  task "release" do
    invoke_rake 'android', 'release'
  end
  desc "Same as 'spec:emulator'"
  task "spec" do
    invoke_rake 'android', 'spec'
  end
  desc "Run the test/spec suite on the device"
  task "spec:device" do
    invoke_rake 'android', 'spec:device'
  end
  desc "Run the test/spec suite on the emulator"
  task "spec:emulator" do
    invoke_rake 'android', 'spec:emulator'
  end
end
