raven/Rakefile

21 lines
303 B
Ruby

require 'bundler/setup'
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