Sha256: 364325d9d04c47384d35a23ef0f594498281f4cc1cf5725001437c6f0949c2ed

Contents?: true

Size: 600 Bytes

Versions: 7

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_root optional)'
  task :bootstrap, :project_root do |t, args|
    args.with_defaults(:project_root => Bundler.root)

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ios_toolchain-0.3.3 lib/ios_toolchain/tasks/bootstrap.rake
ios_toolchain-0.3.2 lib/ios_toolchain/tasks/bootstrap.rake
ios_toolchain-0.3.1 lib/ios_toolchain/tasks/bootstrap.rake
ios_toolchain-0.3.0 lib/ios_toolchain/tasks/bootstrap.rake
ios_toolchain-0.2.6 lib/ios_toolchain/tasks/bootstrap.rake
ios_toolchain-0.2.4 lib/ios_toolchain/tasks/bootstrap.rake
ios_toolchain-0.2.3 lib/ios_toolchain/tasks/bootstrap.rake