-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
34 lines (29 loc) · 945 Bytes
/
Rakefile
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
require 'rubygems'
require 'rake/gempackagetask'
require 'lib/resat'
GEM = 'resat'
GEM_VER = Resat::VERSION
AUTHOR = 'Raphael Simon'
EMAIL = '[email protected]'
HOMEPAGE = 'http://github.com/raphael/resat'
SUMMARY = 'Web scripting for the masses'
spec = Gem::Specification.new do |s|
s.name = GEM
s.version = GEM_VER
s.author = AUTHOR
s.email = EMAIL
s.platform = Gem::Platform::RUBY
s.summary = SUMMARY
s.description = SUMMARY
s.homepage = HOMEPAGE
s.files = %w(LICENSE README.rdoc Rakefile) + FileList["{bin,lib,schemas,examples}/**/*"].to_a
s.executables = ['resat']
s.extra_rdoc_files = ["README.rdoc", "LICENSE"]
s.add_dependency("kwalify", ">= 0.7.1")
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
task :install => [:package] do
sh %{sudo gem install pkg/#{GEM}-#{GEM_VER}}
end