Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

refactored rake task

  • Loading branch information...
commit 80d57782542618cf05edc2a7cdd78219ebd7c7c9 1 parent 7e9bb56
@jbasdf jbasdf authored
Showing with 8 additions and 6 deletions.
  1. +5 −3 lib/muck_raker/tasks.rb
  2. +3 −3 muck-raker.gemspec
View
8 lib/muck_raker/tasks.rb
@@ -15,10 +15,9 @@ def define
namespace :muck do
- namespace :raker do
-
+ namespace :sync do
desc "Sync files from muck raker."
- task :sync do
+ task :raker do
path = File.join(File.dirname(__FILE__), *%w[.. ..])
system "rsync -ruv #{path}/db ."
system "rsync -ruv #{path}/config/solr ./config"
@@ -26,6 +25,9 @@ def define
system "rsync -ruv #{path}/config/initializers/muck_raker.rb ./config/initializers" if !File.exist?('.config/initializsers/muck_raker.rb')
puts "Copied muck-raker migrations, solr config files and initializer"
end
+ end
+
+ namespace :raker do
desc "Start muck-raker daemon running continuously."
task :start => :environment do
View
6 muck-raker.gemspec
@@ -1,15 +1,15 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
+# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{muck-raker}
- s.version = "0.3.12"
+ s.version = "0.3.13"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Joel Duffin Justin Ball"]
- s.date = %q{2010-02-08}
+ s.date = %q{2010-02-17}
s.description = %q{The aggregation and recommendation daemons for the muck system.}
s.email = %q{justin@tatemae.com}
s.extra_rdoc_files = [
Please sign in to comment.
Something went wrong with that request. Please try again.