# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require_relative 'config/application'
Rails.application.load_tasks
task :rubocop do
sh 'rubocop'
end
task :scp do
sh 'scp ./swagger/v1/app_name_to_replace.json web@docs.tallty.com:/home/web/swagger-ui/dist/api/'
end
task :annotate do
sh 'annotate -i'
sh 'annotate -i --with-comment'
end
task :bundle do
sh "bundle config set --local without 'development test'"
sh 'bundle install'
end
task :start do
sh 'RAILS_ENV=production bundle exec puma -C config/puma.rb'
end
task :bin do
sh 'rake app:update:bin'
end