examples/app_skeleton/Rakefile in merb-0.0.7 vs examples/app_skeleton/Rakefile in merb-0.0.8
- old
+ new
@@ -4,10 +4,11 @@
require 'code_statistics'
require 'fileutils'
require 'rubygems'
require 'merb'
require MERB_FRAMEWORK_ROOT+'/merb_tasks'
+MERB_ROOT = File.dirname(__FILE__)
include FileUtils
#desc "Packages up Merb."
#task :default => [:package]
@@ -16,12 +17,12 @@
task :merb_init do
require 'merb'
require File.dirname(__FILE__)+'/dist/conf/merb_init.rb'
end
-desc "Run schema morphing"
-task :schema => [:merb_init] do
- require File.dirname(__FILE__)+'/dist/schema/schema1.rb'
+desc "Load db schema"
+task :load_schema => [:merb_init] do
+ require File.dirname(__FILE__)+'/dist/schema/schema.rb'
end
task :uninstall => [:clean] do
sh %{sudo gem uninstall #{NAME}}
end
\ No newline at end of file