Sha256: f5deb8577c26e4adcf15ba783d0adfb76b40f11ed2deb9e56fe3e4707b64822a

Contents?: true

Size: 229 Bytes

Versions: 1

Compression:

Stored size: 229 Bytes

Contents

module Sidekick::Helpers::Compile

  def rake(task_name)
    needs 'rake', 'to invoke rake tasks'
    handling Exception, "rake #{task_name}" do
      load 'Rakefile'
      Rake::application[task_name].invoke
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekick-0.6.2 lib/sidekick/helpers/rake.rb