summaryrefslogtreecommitdiff
path: root/lib/tasks/task_helper.rb
blob: 26e60bcbfaef708cfe6220efa32f91127b21b63c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require File.expand_path('../../../lib/leap_web/version', __FILE__)

module TaskHelper

  ENGINES = %w(users certs help)

  def putsys(cmd)
    puts cmd
    system cmd
  end

  def each_gem
    ENGINES.each do |gem_name|
      puts "########################### #{gem_name} #########################"
      yield gem_name
    end
  end
end