2022-12-10 01:59:30 -05:00
|
|
|
require 'bundler/setup'
|
|
|
|
|
|
|
|
namespace :server do
|
2023-03-31 11:52:37 -04:00
|
|
|
task :start do
|
|
|
|
system('bundle exec puma -C config/puma.rb')
|
2022-12-10 01:59:30 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
task :reload do
|
2023-03-31 11:52:37 -04:00
|
|
|
system('guard')
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
namespace :test do
|
|
|
|
task :lint do
|
|
|
|
system("rubocop app/ server.rb")
|
2022-12-10 01:59:30 -05:00
|
|
|
end
|
|
|
|
end
|