diff options
Diffstat (limited to 'lib/tasks/task_helper.rb')
-rw-r--r-- | lib/tasks/task_helper.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/tasks/task_helper.rb b/lib/tasks/task_helper.rb new file mode 100644 index 0000000..aa37698 --- /dev/null +++ b/lib/tasks/task_helper.rb @@ -0,0 +1,19 @@ +require File.expand_path('../../../lib/leap_web/version', __FILE__) + +module TaskHelper + + ENGINES = %w(core 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 + |