mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-22 22:06:45 +00:00
add package task
This commit is contained in:
parent
16cc8101cb
commit
01b734e7cd
6
Rakefile
6
Rakefile
@ -49,7 +49,11 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
|
||||
rdoc.rdoc_files.include('lib/**/*.rb')
|
||||
end
|
||||
|
||||
desc "install the gem locally"
|
||||
Rake::GemPackageTask.new(spec) do |pkg|
|
||||
pkg.gem_spec = spec
|
||||
end
|
||||
|
||||
desc "Install the gem locally"
|
||||
task :install => [:package] do
|
||||
sh %{gem install pkg/#{GEM_NAME}-#{GEM_VERSION}}
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user