Sha256: d92c64373c004e82b7ed55fa3e66af6dad777cb388bbbb7a8f6c9f47e9a6e563

Contents?: true

Size: 883 Bytes

Versions: 4

Compression:

Stored size: 883 Bytes

Contents

require "rubygems"
require "rake/rdoctask"

require "merb-core"
require "merb-core/tasks/merb"

load "pupu/tasks/pupu.rake"

# Load the basic runtime dependencies; this will include 
# any plugins and therefore plugin rake tasks.
init_env = ENV["MERB_ENV"] || "development"
Merb.load_dependencies(:environment => init_env)
     
# Get Merb plugins and dependencies
Merb::Plugins.rakefiles.each { |r| require r } 

# Load any app level custom rakefile extensions from lib/tasks
tasks_path = File.join(File.dirname(__FILE__), "lib", "tasks")
rake_files = Dir["#{tasks_path}/*.rake"]
rake_files.each{|rake_file| load rake_file }

desc "Start runner environment"
task :merb_env do
  Merb.start_environment(:environment => init_env, :adapter => "runner")
end

require "spec/rake/spectask"
require "merb-core/test/tasks/spectasks"
desc "Default: run spec examples"
task :default => "spec"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pupu-0.0.3.pre examples/merb/Rakefile
pupu-0.0.2.pre examples/merb/Rakefile
pupu-0.0.2 examples/merb/Rakefile
pupu-0.1.pre examples/merb/Rakefile