Skip to content

Commit

Permalink
Some additional cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Taylor Weibley committed Mar 14, 2009
1 parent 4dc15f2 commit 12f8a84
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
8 changes: 3 additions & 5 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@ Redis is a key value store with some interesting features:

See [redis on code.google.com](http://code.google.com/p/redis/wiki/README) for more information.

## redis-rb dependencies
## Dependencies

1. redis - rake redis:install will build the latest version from source.
2. dtach - rake dtach:install will build 0.8 from source.
3. svn - git is the new black, but we need it for the google codes.

## Setup

## useful information

1. Use the tasks mentioned above (in redis-rb dependencies) to get your machine setup.
2.
Use the tasks mentioned above (in redis-rb dependencies) to get your machine setup.
12 changes: 6 additions & 6 deletions tasks/redis.tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def self.attach
end

def self.stop
sh "killall redis-server"
sh 'killall redis-server'
end

end
Expand All @@ -43,7 +43,7 @@ def self.stop
puts "\nSee http://code.google.com/p/redis/ for information about redis.\n\n"
end

desc "Start redis"
desc 'Start redis'
task :start do
RedisRunner.start
end
Expand All @@ -53,7 +53,7 @@ def self.stop
RedisRunner.stop
end

desc "Attach to redis dtach socket"
desc 'Attach to redis dtach socket'
task :attach do
RedisRunner.attach
end
Expand All @@ -76,8 +76,8 @@ def self.stop

desc "Download package"
task :download do
system "svn checkout http://redis.googlecode.com/svn/trunk /tmp/redis" unless File.exists?(RedisRunner.redisdir)
system "svn up" if File.exists?("#{RedisRunner.redisdir}/.svn")
system 'svn checkout http://redis.googlecode.com/svn/trunk /tmp/redis' unless File.exists?(RedisRunner.redisdir)
system 'svn up' if File.exists?("#{RedisRunner.redisdir}/.svn")
end

end
Expand All @@ -103,7 +103,7 @@ def self.stop
end

unless File.directory?('/tmp/dtach-0.8')
system("tar xzf dtach-0.8.tar.gz")
system('tar xzf dtach-0.8.tar.gz')
end

Dir.chdir('/tmp/dtach-0.8/')
Expand Down

0 comments on commit 12f8a84

Please sign in to comment.