Sha256: 844d44cc7366ab16b749c1a6b113a54882090f78d8f2b451d2f67b6a18816295

Contents?: true

Size: 600 Bytes

Versions: 3

Compression:

Stored size: 600 Bytes

Contents

require 'ios_toolchain/helpers'
require 'ios_toolchain/project_analyzer'
require 'ios_toolchain/config_bootstrapper'

include IosToolchain::Helpers

desc 'iOS Toolchain maintenance tasks'
namespace :toolchain do
  desc "Bootstraps iOS Toolchain configuration (project_path optional)"
  task :bootstrap, :project_path do |t, args|
    args.with_defaults(:project_path => Bundler.root)

    analyzer = IosToolchain::ProjectAnalyzer.new(args[:project_path])
    bootstrapper = IosToolchain::ConfigBootstrapper.new(analyzer)
    bootstrapper.bootstrap!

    puts "Created #{config.file_name}."
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ios_toolchain-0.2.2 lib/ios_toolchain/tasks/bootstrap.rake
ios_toolchain-0.2.1 lib/ios_toolchain/tasks/bootstrap.rake
ios_toolchain-0.2.0 lib/ios_toolchain/tasks/bootstrap.rake