Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
#!/usr/bin/env rake
# To run all tests at once, simply do:
# bundle exec rake test
# To run unit tests:
# bundle exec rake test:unit
# To turn specs with verbose output:
# bundle exec rake test:spec TESTOPTS="--verbose"
# For additional help:
# rake --tasks
require 'rake/testtask'
require 'bundler/gem_tasks'
namespace :test do do |t|
ENV["RACK_ENV"] = "test"
t.libs << "spec"
t.pattern = "spec/**/*_spec.rb"
end do |t|
ENV["RACK_ENV"] = "test"
t.libs << "test"
t.pattern = "test/**/*_test.rb"
task :all => [:unit, :spec]
desc "Run all test suites"
task :test => 'test:all'
desc "Uninstall the current version of kood"
task :uninstall do
puts `gem uninstall -x kood` # -x flag uninstalls executables too without confirmation