24件ヒット
[1-24件を表示]
(0.053秒)
検索結果
-
rake
/ gempackagetask (38006.0) -
Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。
...E_DIR/NAME-VERSION.gem
Gem パッケージを作成します。
例:
require 'rubygems'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.summary = "Ruby based make-like utility."
s.name = 'rake'
s.version = PKG_VERSION
s.requirements << 'n... -
rubygems (12.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
...ています。
また、以下のように Rakefile にタスクを追加することもできます。
//emlist[gemspec][ruby]{
require 'rake/gempackagetask'
PKG_FILES = FileList[
'lib/hello.rb',
'spec/*'
]
spec = Gem::Specification.new do |s|
s.name = 'hello'
s.version.......0.1'
s.author = 'Hello Author'
s.email = 'hello@example.com'
s.homepage = 'http://example.com/hello'
s.platform = Gem::Platform::RUBY
s.summary = 'Hello Gem'
s.files = PKG_FILES.to_a
s.require_path = 'lib'
s.has_rdoc...