Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 46 lines (34 sloc) 1.047 kb
04cf2ed Ray Yamamoto Hilton Initial commit of Xcode gem
authored
1 require "bundler/gem_tasks"
aed9d09 Ray Yamamoto Hilton Fix old call to certificates
authored
2 require "yard"
3 require "yard/rake/yardoc_task"
d18a5ff Franklin Webber Rakefile task for running specs
burtlo authored
4
8c2fe5e Ray Yamamoto Hilton Remove integration from default task as it doesnt seem quite right
authored
5 task :default => [:specs, :build]
d18a5ff Franklin Webber Rakefile task for running specs
burtlo authored
6
20f2a0d Ray Yamamoto Hilton Remove old ocunit report parser
authored
7 desc "Run specs"
d18a5ff Franklin Webber Rakefile task for running specs
burtlo authored
8 task :specs do
ba7f345 Franklin Webber Split integration tests in Rakefile
burtlo authored
9 system "rspec --color --format d --tag ~integration"
10 end
11
20f2a0d Ray Yamamoto Hilton Remove old ocunit report parser
authored
12 desc "Run integration tests"
a6dc885 Ray Yamamoto Hilton reset test project before integration tests
authored
13 task :integration => :reset do
ba7f345 Franklin Webber Split integration tests in Rakefile
burtlo authored
14 system "rspec --color --format d --tag integration"
d9cd59b Franklin Webber Rake task to reset test project
burtlo authored
15 end
16
69395c3 Ray Yamamoto Hilton Move doc generation into a namespace
authored
17 namespace :doc do
18 desc "Generate YARD docs"
19 YARD::Rake::YardocTask.new(:generate) do |t|
368a451 Ray Yamamoto Hilton Add YARD doc generation to Rakefile
authored
20 t.files = ['lib/**/*.rb', '-', 'README.md'] # optional
39c6889 Ray Yamamoto Hilton Remove output directory from yard generation task
authored
21 # t.options = ["-o ../xcoder-doc"]
69395c3 Ray Yamamoto Hilton Move doc generation into a namespace
authored
22 end
aed9d09 Ray Yamamoto Hilton Fix old call to certificates
authored
23 end
d877a77 Franklin Webber rake reset will now reset the project file and remove any proj user data
burtlo authored
24
25 task :reset => ['test_project:reset']
26
d9cd59b Franklin Webber Rake task to reset test project
burtlo authored
27 namespace :test_project do
28
29 task :reset do
d877a77 Franklin Webber rake reset will now reset the project file and remove any proj user data
burtlo authored
30 puts "Reseting the TestProject Project File"
a6dc885 Ray Yamamoto Hilton reset test project before integration tests
authored
31 system "git checkout -- spec/TestProject"
ebf6ae2 Franklin Webber Small typo in Rakefile reset task
burtlo authored
32 puts "Removing any User schemes generated in the project"
d877a77 Franklin Webber rake reset will now reset the project file and remove any proj user data
burtlo authored
33 system "rm -rf spec/TestProject/TestProject.xcodeproj/xcuserdata"
ba4e103 Franklin Webber rake reset will remove files from the TestProject
burtlo authored
34 puts "Removing any installed files"
35 system "git clean -df spec/TestProject"
d9cd59b Franklin Webber Rake task to reset test project
burtlo authored
36 end
37
38 end
39
0560259 Franklin Webber Added the RakeTask usage in the rake file
burtlo authored
40
41 require './lib/xcoder/rake_task'
42
43 Xcode::RakeTask.new :xcode do |xcoder|
44 xcoder.directory = 'spec'
45 end
Something went wrong with that request. Please try again.