Sha256: 12cee518b180a22e3b031c4e9ec2778d6d4555de3f68ecd4543a78fcbbfb2f97

Contents?: true

Size: 866 Bytes

Versions: 1

Compression:

Stored size: 866 Bytes

Contents

# Shoe defines some handy Rake tasks for your project, all built around your
# Gem::Specification.
#
# Here's how you use it in your Rakefile:
#
#  require 'shoe'
#  Shoe.tie('myproject', '0.1.0', "This is my project, and it's awesome!") do |spec|
#    # do whatever you want with the Gem::Specification here, for example:
#    # spec.add_runtime_dependency 'dnssd'
#  end
#
# Shoe comes with an executable named "shoe" that will generate a Rakefile like
# this (but slightly fancier) for you.
module Shoe
  autoload :Project, 'shoe/project'
  autoload :Tasks,   'shoe/tasks'

  # Here's where you start. In your Rakefile, you'll probably just call
  # Shoe.tie, then add any dependencies in the block.
  def self.tie(name, version, summary)
    project = Project.new(name, version, summary)
    yield project.spec if block_given?
    project.define_tasks
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoe-0.2.0 lib/shoe.rb