Skip to content

Commit

Permalink
Add task to install dev build locally
Browse files Browse the repository at this point in the history
  • Loading branch information
lance authored and bobmcwhirter committed May 3, 2012
1 parent 65835e3 commit 5ec4507
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ require 'bundler/setup'
require 'rspec/core/rake_task'
require 'awestruct/version'

GEMFILE = "awestruct-#{Awestruct::VERSION}.gem"

task :default => :build

if !defined?(RSpec)
Expand All @@ -22,5 +24,10 @@ end

desc "Release the gem to rubygems"
task :release => :build do
#system "gem push awestruct-#{Awestruct::VERSION}.gem"
#system "gem push #{GEMFILE}"
end

desc "Build and install the gem locally (for testing)"
task :install => :build do
system "gem install -l -f #{GEMFILE}"
end
1 change: 1 addition & 0 deletions awestruct.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ spec = Gem::Specification.new do |s|
s.add_dependency 'json', '~> 1.6.6'
s.add_dependency 'notifier', '~> 0.1.4'
s.add_dependency 'git', '~> 1.2.5'
s.add_dependency 'sprockets', '~> 2.4.0'

s.add_dependency 'guard'

Expand Down

0 comments on commit 5ec4507

Please sign in to comment.