るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.349秒)
トップページ > クエリ:-[x] > クエリ:need_zip[x] > クエリ:rake/gempackagetask[x]

別のキーワード

  1. _builtin new
  2. _builtin inspect
  3. _builtin []
  4. _builtin to_s
  5. _builtin each

検索結果

rake/gempackagetask (38024.0)

Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。

...タスクを定義します。

: PACKAGE_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...
...re = 'rake'
s.files = PKG_FILES
s.description = <<EOF
Rake is a Make-like program implemented in Ruby. Tasks
and dependencies are specified in standard Ruby syntax.
EOF
end

Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_zip = true
pkg.need_tar = true
end...