lib/tasks/lookbook_tasks.rake in lookbook-0.9.8 vs lib/tasks/lookbook_tasks.rake in lookbook-1.0.0.beta.0

- old
+ new

@@ -1,11 +1,23 @@ require_relative "../lookbook" namespace :lookbook do + desc "Run the rspec tests" + task :test do + sh "bundle exec rspec" + end + + namespace :test do + desc "Start a server to view the test app" + task :serve do + sh "bundle exec rackup" + end + end + namespace :previews do desc "Preparse the previews" - task :preparse => :environment do + task :preparse do Lookbook::Engine.parser.parse puts "Lookbook preview parsing complete" end end