-
Notifications
You must be signed in to change notification settings - Fork 24
/
Rakefile
47 lines (38 loc) · 1.47 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
%w[rubygems rake rake/clean rake/testtask fileutils].each { |f| require f }
require File.dirname(__FILE__) + '/lib/vegas'
begin
require 'jeweler'
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
VEGAS_VERSION = if ENV["DEV"]
"#{Vegas::VERSION}.#{Time.new.to_i}"
else
Vegas::VERSION
end
Jeweler::Tasks.new do |s|
s.name = %q{vegas}
s.version = VEGAS_VERSION
s.authors = ["Aaron Quint"]
s.date = %q{2009-08-30}
s.summary = "Vegas aims to solve the simple problem of creating executable versions of Sinatra/Rack apps."
s.description = %{Vegas aims to solve the simple problem of creating executable versions of Sinatra/Rack apps. It includes a class Vegas::Runner that wraps Rack/Sinatra applications and provides a simple command line interface and launching mechanism.}
s.email = ["[email protected]"]
s.homepage = %q{http://code.quirkey.com/vegas}
s.rubyforge_project = %q{quirkey}
s.add_runtime_dependency(%q<rack>, [">= 1.0.0"])
s.add_development_dependency(%q<mocha>, ["~> 0.9.8"])
s.add_development_dependency(%q<bacon>, ["~> 1.1.0"])
s.add_development_dependency(%q<sinatra>, ["~> 0.9.4"])
end
Jeweler::GemcutterTasks.new
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/test*.rb']
t.verbose = true
end
task :package => :build
task :default => :test
task "install:dev" => :build do
system "gem install pkg/vegas-#{VEGAS_VERSION}.gem"
end