Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

46 lines (34 sloc) 1.031 kB
require "bundler/gem_tasks"
require "yard"
require "yard/rake/yardoc_task"
task :default => [:specs, :build]
desc "Run specs"
task :specs do
system "rspec --color --format d --tag ~integration"
end
desc "Run integration tests"
task :integration do
system "rspec --color --format d --tag integration"
end
namespace :doc do
desc "Generate YARD docs"
YARD::Rake::YardocTask.new(:generate) do |t|
t.files = ['lib/**/*.rb', '-', 'README.md'] # optional
# t.options = ["-o ../xcoder-doc"]
end
end
task :reset => ['test_project:reset']
namespace :test_project do
task :reset do
puts "Reseting the TestProject Project File"
system "git co -- spec/TestProject"
puts "Removing any User schemes generated in the project"
system "rm -rf spec/TestProject/TestProject.xcodeproj/xcuserdata"
puts "Removing any installed files"
system "git clean -df spec/TestProject"
end
end
require './lib/xcoder/rake_task'
Xcode::RakeTask.new :xcode do |xcoder|
xcoder.directory = 'spec'
end
Jump to Line
Something went wrong with that request. Please try again.