Sha256: a4f5e4461959748f9f5bcc68b1247b67f51adaba9e0b6c84edc05fb94686a766
Contents?: true
Size: 497 Bytes
Versions: 3
Compression:
Stored size: 497 Bytes
Contents
# encoding: utf-8 require 'fedux_org_stdlib/rake/task' module FeduxOrgStdlib module Rake # Sub Task # # @see Rakefile class SubTask < Task # @!attribute [r] command # The command to be executed attr_reader :sub_tasks def initialize(sub_tasks:, **args) super(**args) @sub_tasks = Array(sub_tasks) end # @private def run_task(verbose) sub_tasks.each { |t| ::Rake::Task[t].invoke } end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fedux_org-stdlib-0.6.5 | lib/fedux_org_stdlib/rake/sub_task.rb |
fedux_org-stdlib-0.6.4 | lib/fedux_org_stdlib/rake/sub_task.rb |
fedux_org-stdlib-0.6.3 | lib/fedux_org_stdlib/rake/sub_task.rb |