diff options
| author | frsyuki <frsyuki@users.sourceforge.jp> | 2010-02-06 21:28:27 +0900 |
|---|---|---|
| committer | frsyuki <frsyuki@users.sourceforge.jp> | 2010-02-06 21:28:27 +0900 |
| commit | d5609f3207ee8b98dc1e2032cd31a23380ad5402 (patch) | |
| tree | aef84c076d47c6cb8125bb77db3c6458801d7181 /ruby/makegem.sh | |
| parent | cd10fbc1fe39308045f0b7bf9cce5f8153f25f1d (diff) | |
| download | msgpack-python-d5609f3207ee8b98dc1e2032cd31a23380ad5402.tar.gz | |
ruby: makegem.sh
Diffstat (limited to 'ruby/makegem.sh')
| -rwxr-xr-x | ruby/makegem.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ruby/makegem.sh b/ruby/makegem.sh new file mode 100755 index 0000000..fd0db79 --- /dev/null +++ b/ruby/makegem.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +mkdir -p ext +mkdir -p msgpack +cp extconf.rb ext/ +cp pack.c ext/ +cp pack.h ext/ +cp rbinit.c ext/ +cp unpack.c ext/ +cp unpack.h ext/ +cp ../AUTHORS ./ +cp ../ChangeLog ./ +cp ../msgpack/pack_define.h msgpack/ +cp ../msgpack/pack_template.h msgpack/ +cp ../msgpack/unpack_define.h msgpack/ +cp ../msgpack/unpack_template.h msgpack/ +cp ../msgpack/sysdep.h msgpack/ +cat msgpack_test.rb | sed "s/require ['\"]msgpack['\"]/require File.dirname(__FILE__) + '\/test_helper.rb'/" > test/msgpack_test.rb + +gem build msgpack.gemspec + |
