Sha256: 6cdab5bc6fc4ade568be8905e3c0ee3f36aeb85a17534884d73a3fbb4180e1e8

Contents?: true

Size: 382 Bytes

Versions: 12

Compression:

Stored size: 382 Bytes

Contents

module PatternPark
  
  class Task < Sprout
    
    def type
      return 'task'
    end
    
    def execute
      super
      if(target.project_path != '')
        from = target.install_path
        to = File.join(Sprout.project_path, target.project_path)
        FileUtils.makedirs(to)
        TemplateResolver.instance.copy_files(from, to, render)
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
sprout-0.5.10 lib/task.rb
sprout-0.3.36 lib/task.rb
sprout-0.5.13 lib/task.rb
sprout-0.3.35 lib/task.rb
sprout-0.5.11 lib/task.rb
sprout-0.5.0 lib/task.rb
sprout-0.5.23 lib/task.rb
sprout-0.5.15 lib/task.rb
sprout-0.5.9 lib/task.rb
sprout-0.5.29 lib/task.rb
sprout-0.5.19 lib/task.rb
sprout-0.5.25 lib/task.rb