make_gem.rb
From: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2007-04-02 14:18:46 CEST
Hi Joe, DJ,
I wrote a small script that makes .gem.
Joe, could you confirm this script can generate .gem?
> ruby make_gem.rb TARGET_DIRECTORY
TARGET_DIRECTORY is a directory that is generated by
And could you confirm generated .gem works?
> gem install subversion-1.5.0-mswin32.gem
DJ, could you modify build/win32/make_dist.py to use
I think Windows user doesn't need both of .zip and .gem. If
Regards,
-- kou
# -*- ruby -*-
def usage
if ARGV.size < 1
target_dir = ARGV.shift
if target_dir == "--help"
base_dir = File.expand_path(File.join(target_dir, "ruby"))
require 'svn/core'
gem_file = nil
spec = Gem::Specification.new do |s|
gem_file = File.expand_path(Gem::Builder.new(spec).build)
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.