Permalink
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (11 sloc) 297 Bytes
desc "Run the Appledoc Tests"
task :test do
ENV['GHUNIT_CLI'] = "1"
if system("xctool -workspace appledoc.xcworkspace -scheme AppledocTests")
puts "\033[0;32m** All tests executed successfully"
else
puts "\033[0;31m! Unit tests failed"
exit(-1)
end
end
task :default => 'test'