# 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