Class: HelixRuntime::ParentBuildTask
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- HelixRuntime::ParentBuildTask
- Defined in:
- lib/helix_runtime/parent_build_task.rb
Overview
FIXME: I don’t like this name
Instance Method Summary collapse
- #define ⇒ Object
-
#initialize ⇒ ParentBuildTask
constructor
A new instance of ParentBuildTask.
Constructor Details
#initialize ⇒ ParentBuildTask
Returns a new instance of ParentBuildTask.
8 9 10 |
# File 'lib/helix_runtime/parent_build_task.rb', line 8 def initialize define end |
Instance Method Details
#define ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/helix_runtime/parent_build_task.rb', line 12 def define desc "Build Helix projects in crates" task :build do project.projects.each do |p| puts "Building #{p.name}" p.build end end desc "Clobber Helix builds in crates" task :clobber do project.projects.each do |p| puts "Clobbering #{p.name}" p.clobber end end end |