18 lines
250 B
Ruby
18 lines
250 B
Ruby
require 'bundler/setup'
|
|
|
|
namespace :server do
|
|
task :start do
|
|
system('bundle exec puma -C config/puma.rb')
|
|
end
|
|
|
|
task :reload do
|
|
system('guard')
|
|
end
|
|
end
|
|
|
|
namespace :test do
|
|
task :lint do
|
|
system("rubocop app/ server.rb")
|
|
end
|
|
end
|