21 lines
289 B
Ruby
21 lines
289 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 :start do
|
|
system("puma -C config/puma.rb")
|
|
end
|
|
|
|
task :dev do
|
|
%x{guard}
|
|
end
|
|
end
|