No commit activity in last 3 years
No release in over 3 years
Default tasks we're using in our apps
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

>= 0
~> 0.3.97
~> 1.2.6
>= 3.2.0
 Project Readme

sinatra_rake_tasks

Basic Usage

Copy/Paste the following lines in your Rakefile :

require 'sinatra_rake_tasks'
OpenHood::Rake::SpecTask.new
OpenHood::Rake::CucumberTask.new
OpenHood::Rake::SequelTask.new
OpenHood::Rake::CITask.new
OpenHood::Rake::ConsoleTask.new

Add basic directories :

# For SequelTask and ConsoleTask :
mkdir config
mkdir migrations

# For SpecTask :
mkdir spec

# For CucumberTask :
mkdir features

And you get :

rake -T

rake ci:all           # Run all features and specs
rake console          # Pseudo console
rake db:migrate       # Migrate the database through scripts in db/migrate.
rake db:migrate:redo  # Rollbacks the database one migration and re migrate up.
rake db:rollback      # Rolls the schema back to the previous version.
rake db:version       # Retrieves the current schema version number
rake features         # Run Cucumber features
rake spec             # Run specs

Copyright

Copyright (c) 2009 Joseph Halter & Jonathan Tron. See LICENSE for details.