game-data/Rakefile

19 lines
304 B
Ruby

require 'bundler/setup'
namespace :db do
task :migrate do
%x{sequel -m 'db/migrations/' 'sqlite://data/gamedata.db'}
end
end
namespace :server do
task :start do
ENV['APP_ENV'] = 'production'
system("puma")
end
task :dev do
system('rerun --quiet --dir="src/" puma')
end
end