mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 10:19:51 +00:00
lang/c/msgpack: added Messagepack, a binary-based efficient data interchange format.
git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@48 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
This commit is contained in:
commit
269cda016d
50 changed files with 4869 additions and 0 deletions
34
ruby/gem/tasks/deployment.rake
Normal file
34
ruby/gem/tasks/deployment.rake
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
desc 'Release the website and new gem version'
|
||||
task :deploy => [:check_version, :website, :release] do
|
||||
puts "Remember to create SVN tag:"
|
||||
puts "svn copy svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/trunk " +
|
||||
"svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/tags/REL-#{VERS} "
|
||||
puts "Suggested comment:"
|
||||
puts "Tagging release #{CHANGES}"
|
||||
end
|
||||
|
||||
desc 'Runs tasks website_generate and install_gem as a local deployment of the gem'
|
||||
task :local_deploy => [:website_generate, :install_gem]
|
||||
|
||||
task :check_version do
|
||||
unless ENV['VERSION']
|
||||
puts 'Must pass a VERSION=x.y.z release version'
|
||||
exit
|
||||
end
|
||||
unless ENV['VERSION'] == VERS
|
||||
puts "Please update your version.rb to match the release version, currently #{VERS}"
|
||||
exit
|
||||
end
|
||||
end
|
||||
|
||||
desc 'Install the package as a gem, without generating documentation(ri/rdoc)'
|
||||
task :install_gem_no_doc => [:clean, :package] do
|
||||
sh "#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri"
|
||||
end
|
||||
|
||||
namespace :manifest do
|
||||
desc 'Recreate Manifest.txt to include ALL files'
|
||||
task :refresh do
|
||||
`rake check_manifest | patch -p0 > Manifest.txt`
|
||||
end
|
||||
end
|
||||
7
ruby/gem/tasks/environment.rake
Normal file
7
ruby/gem/tasks/environment.rake
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
task :ruby_env do
|
||||
RUBY_APP = if RUBY_PLATFORM =~ /java/
|
||||
"jruby"
|
||||
else
|
||||
"ruby"
|
||||
end unless defined? RUBY_APP
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue