Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 42 lines (35 sloc) 1.141 kB
ef51a62 @freels embedded test server, basic host management commands
freels authored
1 ROOT_DIR = File.expand_path(File.dirname(__FILE__))
01888f7 Initial commit to gizzmo.
Kyle Maxwell authored
2 begin
35b8452 @freels use bundler for deps
freels authored
3 require 'rubygems'
4 require 'bundler/setup'
01888f7 Initial commit to gizzmo.
Kyle Maxwell authored
5 rescue LoadError
35b8452 @freels use bundler for deps
freels authored
6 $stderr.puts "bundler not found. run `gem install bundler`"
01888f7 Initial commit to gizzmo.
Kyle Maxwell authored
7 end
8
35b8452 @freels use bundler for deps
freels authored
9 require 'rake'
10 require 'jeweler'
11 require 'spec/rake/spectask'
12 require 'rdoc/task'
6c15e72 @freels add failing specs for setup_shards
freels authored
13
35b8452 @freels use bundler for deps
freels authored
14 task :default => :spec
01888f7 Initial commit to gizzmo.
Kyle Maxwell authored
15
35b8452 @freels use bundler for deps
freels authored
16 Jeweler::Tasks.new do |gem|
17 gem.name = "gizzmo"
18 gem.summary = %Q{Gizzmo is a command-line client for managing gizzard clusters.}
19 gem.description = %Q{Gizzmo is a command-line client for managing gizzard clusters.}
20 gem.email = "kmaxwell@twitter.com"
21 gem.homepage = "http://github.com/twitter/gizzmo"
22 gem.authors = ["Kyle Maxwell"]
fb8b493 rake test works
Kyle Maxwell authored
23 end
35b8452 @freels use bundler for deps
freels authored
24 Jeweler::GemcutterTasks.new
01888f7 Initial commit to gizzmo.
Kyle Maxwell authored
25
35b8452 @freels use bundler for deps
freels authored
26 Spec::Rake::SpecTask.new(:spec) do |t|
27 spec_opts = File.expand_path('test/spec.opts', ROOT_DIR)
28 if File.exist? spec_opts
29 t.spec_opts = ['--options', "\"#{spec_opts}\""]
30 end
31 t.spec_files = FileList['test/**/*_spec.rb']
32 end
01888f7 Initial commit to gizzmo.
Kyle Maxwell authored
33
34 Rake::RDocTask.new do |rdoc|
35 version = File.exist?('VERSION') ? File.read('VERSION') : ""
36
37 rdoc.rdoc_dir = 'rdoc'
38 rdoc.title = "gizzmo #{version}"
39 rdoc.rdoc_files.include('README*')
40 rdoc.rdoc_files.include('lib/**/*.rb')
41 end
Something went wrong with that request. Please try again.