Sha256: 8f56d76a8bb464f8b24908b5752dbe32bade25996d2b11c41b74ee95fe00cc15

Contents?: true

Size: 778 Bytes

Versions: 10

Compression:

Stored size: 778 Bytes

Contents

# coding:utf-8
RAKE_ROOT = __FILE__

require 'rubygems'
require File.expand_path(File.dirname(__FILE__) + '/../gem_rake_helper')

########### CUSTOM TASKS ##########

subgems = [
  ["padrino-core", "= #{gemspec.version}"],
  ["padrino-helpers", "= #{gemspec.version}"],
  ["padrino-mailer", "= #{gemspec.version}"],
  ["padrino-gen", "= #{gemspec.version}"],
  ["padrino-admin", "= #{gemspec.version}"]
  # ["padrino-cache", "= #{gemspec.version}"],
]

task :package => "lib/padrino.rb"

desc "Create padrino.rb"
task "lib/padrino.rb" do
  mkdir_p "lib"
  File.open("lib/padrino.rb","w+") do |file|
    file.puts "### AUTOMATICALLY GENERATED. DO NOT EDIT!"
    subgems.each do |pair|
      g, _ = pair
      file.puts "require '#{g}'" unless g =~ /padrino-gen/
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
padrino-0.9.20 Rakefile
padrino-0.9.19 Rakefile
padrino-0.9.18 Rakefile
padrino-0.9.17 Rakefile
padrino-0.9.16 Rakefile
padrino-0.9.15 Rakefile
padrino-0.9.14 Rakefile
padrino-0.9.13 Rakefile
padrino-0.9.12 Rakefile
padrino-0.9.11 Rakefile