lib/ios_toolchain/tasks/bootstrap.rake in ios_toolchain-0.2.2 vs lib/ios_toolchain/tasks/bootstrap.rake in ios_toolchain-0.2.3
- old
+ new
@@ -4,14 +4,14 @@
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)
+ 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_path])
+ analyzer = IosToolchain::ProjectAnalyzer.new(args[:project_root])
bootstrapper = IosToolchain::ConfigBootstrapper.new(analyzer)
bootstrapper.bootstrap!
puts "Created #{config.file_name}."
end