game-data/Rakefile

19 lines
315 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 --no-notify --exit --dir="src/" puma')
end
end