raven/Rakefile

19 lines
278 B
Ruby
Raw Normal View History

require 'sequel'
require 'sqlite3'
namespace :db do
task :migrate do
%x{sequel -m 'db/migrations/' 'sqlite://data/raven.db'}
end
end
namespace :server do
task :dev do
%x{ruby raven.rb}
end
task :reload do
%x{rerun --no-notify 'ruby raven.rb'}
end
end