lib/tasks/lookbook_tasks.rake in lookbook-0.7.4 vs lib/tasks/lookbook_tasks.rake in lookbook-0.8.0.beta.0
- old
+ new
@@ -1,7 +1,16 @@
require_relative "../lookbook"
namespace :lookbook do
+
+ namespace :previews do
+ desc "Preparse the previews"
+ task :preparse do
+ Lookbook::Engine.parser.parse
+ puts "Lookbook preview parsing complete"
+ end
+ end
+
namespace :release do
desc "Bump the Lookbook engine version number"
task :bump_version, [:version] do |t, args|
filename = Lookbook::Engine.root.join("lib/lookbook/version.rb")
current_version = Lookbook::VERSION.to_s