Added Rakefile to project for handling common tasks

This commit is contained in:
Gregory Ballantine 2022-12-08 11:00:19 -05:00
parent 12045c684e
commit f1aca6e318

18
Rakefile Normal file
View File

@ -0,0 +1,18 @@
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