Skip to content

Commit

Permalink
quick task for installing dev version of gem
Browse files Browse the repository at this point in the history
  • Loading branch information
greatseth committed Feb 5, 2010
1 parent 78d534d commit 1a3fd73
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

version = if ENV["DEV"]
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 = version
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."
Expand All @@ -41,3 +41,7 @@ end

task :package => :build
task :default => :test

task "install:dev" => :build do
system "gem install pkg/vegas-#{VEGAS_VERSION}.gem"
end

0 comments on commit 1a3fd73

Please sign in to comment.