drnic / injour forked from arunthampi/injour

In/Out via Bonjour

This URL has Read+Write access

injour / Rakefile
100644 48 lines (41 sloc) 1.347 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
require "date"
require "fileutils"
require "rubygems"
require "rake/gempackagetask"
 
require "./lib/injour/version.rb"
 
injour_gemspec = Gem::Specification.new do |s|
  s.name = "injour"
  s.version = Injour::VERSION
  s.platform = Gem::Platform::RUBY
  s.has_rdoc = true
  s.extra_rdoc_files = ["README.rdoc"]
  s.summary = "Publish your statuses over Bonjour. A distributed approach to the In/Out app created by 37Signals."
  s.description = s.summary
  s.authors = ["Arun Thampi"]
  s.email = "arun.thampi@gmail.com"
  s.homepage = "http://github.com/arunthampi/injour"
  s.require_path = "lib"
  s.autorequire = "injour"
  s.files = %w(README.rdoc Rakefile) + Dir.glob("{bin,lib}/**/*")
  s.executables = %w(injour)
  
  s.add_dependency "dnssd", ">= 0.6.0"
end
 
Rake::GemPackageTask.new(injour_gemspec) do |pkg|
  pkg.gem_spec = injour_gemspec
end
 
namespace :gem do
  namespace :spec do
    desc "Update injour.gemspec"
    task :generate do
      File.open("injour.gemspec", "w") do |f|
        f.puts(injour_gemspec.to_ruby)
      end
    end
  end
end
 
desc "Install the gem"
task :install => :package do
  sh %{sudo gem install pkg/injour-#{Injour::VERSION}}
end
 
desc "Remove all generated artifacts"
task :clean => :clobber_package