24件ヒット
[1-24件を表示]
(0.023秒)
検索結果
-
rake
/ gempackagetask (38012.0) -
Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。
...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... -
rubygems (36.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
...示されます。
//emlist[gemspec][ruby]{
Gem::Specification.new do |s|
s.name = 'hello'
s.version = '0.0.0'
s.summary = 'hello summary'
end
//}
実用的なライブラリを作成するための gemspec の例を示します。
警告メッセージが出力されないようにいく......]
s.email = 'hello_author@example.com'
s.homepage = 'http://example.com/hello/'
s.description = 'hello description'
end
//}
: name
この Gem の名前を指定します。
: version
この Gem のバージョンを指定します。
: summary
この Gem の......cription = 'hello description'
end
//}
ライブラリの例に加えて executables を追加しています。
また、以下のように Rakefile にタスクを追加することもできます。
//emlist[gemspec][ruby]{
require 'rake/gempackagetask'
PKG_FILES = FileList[
'lib/hell...