Skip to content

Commit

Permalink
Remove mailcatcher from optional utils
Browse files Browse the repository at this point in the history
  • Loading branch information
chumaknadya committed Feb 1, 2019
1 parent d2ba654 commit a3eee8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/tasks/service.rake
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,18 @@ namespace :service do
@switch.call(args, method(:start), method(:stop))
end

desc '[Optional] Run utils (mailcatcher, postmaster)'
desc '[Optional] Run utils (postmaster)'
task :utils, [:command] do |task, args|
args.with_defaults(:command => 'start')

def start
puts '----- Starting utils -----'
sh 'docker-compose up -d mailcatcher postmaster'
sh 'docker-compose up -d postmaster'
end

def stop
puts '----- Stopping Utils -----'
sh 'docker-compose rm -fs mailcatcher postmaster'
sh 'docker-compose rm -fs postmaster'
end

@switch.call(args, method(:start), method(:stop))
Expand Down

0 comments on commit a3eee8a

Please sign in to comment.