24件ヒット
[1-24件を表示]
(0.046秒)
検索結果
-
rake
/ gempackagetask (38006.0) -
Gem Spec ファイルを元にして 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 << 'none'
s.require_path = 'lib'... -
rubygems (30.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
...つかの警告が表示されます。
//emlist[gemspec][ruby]{
Gem::Specification.new do |s|
s.name = 'hello'
s.version = '0.0.0'
s.summary = 'hello summary'
end
//}
実用的なライブラリを作成するための gemspec の例を示します。
警告メッセージが出力され......ています。
//emlist[gemspec][ruby]{
Gem::Specification.new do |s|
s.name = 'hello'
s.version = '0.0.0'
s.summary = 'hello summary'
s.files = ['lib/hello.rb']
s.authors = ['Hello Author']
s.email = 'hello_author@exam......ています。
また、以下のように 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...