539件ヒット
[1-100件を表示]
(0.136秒)
種類
- インスタンスメソッド (440)
- 特異メソッド (66)
- 定数 (11)
- 文書 (11)
- ライブラリ (11)
ライブラリ
- rake (451)
-
rake
/ packagetask (66)
クラス
-
Rake
:: Application (66) -
Rake
:: FileList (176) -
Rake
:: FileTask (22) -
Rake
:: InvocationChain (44) -
Rake
:: PackageTask (66) -
Rake
:: TaskArguments (11)
モジュール
- Rake (22)
-
Rake
:: TaskManager (88) - RakeFileUtils (22)
キーワード
- == (11)
-
DEFAULT
_ RAKEFILES (11) - Ruby用語集 (11)
- [] (11)
- append (22)
- application (11)
-
clear
_ exclude (11) -
define
_ task (11) -
excluded
_ from _ list? (11) - existing (11)
- existing! (11)
- ext (11)
- gsub! (11)
- import (11)
-
in
_ namespace (11) - intern (11)
-
is
_ a? (11) -
kind
_ of? (11) -
last
_ comment (11) -
last
_ description (11) - lookup (11)
- member? (11)
- name (22)
-
need
_ zip (11) - needed? (11)
- new (11)
-
nowrite
_ flag (11) -
original
_ dir (22) -
package
_ dir (11) -
package
_ dir _ path (11) -
package
_ files (11) - pathmap (11)
- rake (11)
- resolve (11)
- sub! (11)
-
synthesize
_ file _ task (11) -
to
_ a (11) -
to
_ ary (11) -
to
_ s (22) -
top
_ level _ tasks (11) -
verbose
_ flag (11) -
with
_ defaults (11)
検索結果
先頭5件
-
Rake
:: Application # rakefile -> String (24335.0) -
実際に使用されている Rakefile の名前を返します。
...実際に使用されている Rakefile の名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.rakefile # => "Rakefile"
end
//}... -
Rake
:: Application :: DEFAULT _ RAKEFILES -> Array (12340.0) -
デフォルトで Rakefile として扱うファイル名の配列を返します。
...デフォルトで Rakefile として扱うファイル名の配列を返します。
'rakefile', 'Rakefile', 'rakefile.rb', 'Rakefile.rb' が指定されています。... -
RakeFileUtils
. nowrite _ flag -> bool (12206.0) -
この値が真の場合、実際のファイル書き込みをともなう操作は行いません。 そうでない場合、ファイル書き込みを行います。
...ァイル書き込みをともなう操作は行いません。
そうでない場合、ファイル書き込みを行います。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :sample_file_task
file :sample_file_task do |t|
RakeFileUtils.nowrite_flag # => false
end
//}... -
RakeFileUtils
. verbose _ flag -> bool (9106.0) -
この値が真の場合、詳細を表示します。
...この値が真の場合、詳細を表示します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :sample_file_task
file :sample_file_task do |t|
# --verbose で rake を実行する
RakeFileUtils.verbose_flag # => true
end
//}... -
Rake
:: FileTask # timestamp -> Time | Rake :: LateTime (6406.0) -
ファイルタスクのタイムスタンプを返します。
...ファイルタスクのタイムスタンプを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: "test.txt"
file "test.txt" do |task|
Rake.application.options.build_all = false
task.timestamp # => #<Rake::LateTime:0x2ba58f0>
end
//}... -
Rake
:: InvocationChain . append(task _ name , chain) -> Rake :: InvocationChain (6406.0) -
与えられたタスク名を第二引数の Rake::InvocationChain に追加します。
...たタスク名を第二引数の Rake::InvocationChain に追加します。
@param task_name タスク名を指定します。
@param chain 既に存在する Rake::InvocationChain のインスタンスを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :t......est_rake_app
task :test_rake_app do
chain = Rake::InvocationChain::EMPTY
b = Rake::InvocationChain.append("task_a", chain)
b.to_s # => "TOP => task_a"
end
//}... -
Rake
. application -> Rake :: Application (6342.0) -
現在の Rake アプリケーションを返します。
...。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app
task :test_rake_app do
pp Rake.application
end
# => #<Rake::Application:0x31b0f18
# @default_loader=#<Rake::DefaultLoader:0x31b0c78>,
# @imported=[],
# @last_description=nil,
# @......b10>},
# @name="rake",
# @options=#<OpenStruct rakelib=["rakelib"], trace_output=#<IO:<STDERR>>>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile="rakefile",
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=......LL(),
# @tasks=
# {"default"=><Rake::Task default => [test_rake_app]>,
# "test_rake_app"=><Rake::Task test_rake_app => []>},
# @terminal_columns=0,
# @top_level_tasks=["default"],
# @tty_output=false>
//}... -
Rake
:: FileList # existing -> Rake :: FileList (6306.0) -
自身に含まれるファイルのうちファイルシステムに存在するファイルのみを 含む Rake::FileList を返します。
...む Rake::FileList を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.existing # => ["test... -
Rake
:: InvocationChain # append(task _ name) -> Rake :: InvocationChain (6306.0) -
与えられたタスク名を追加して新しい Rake::InvocationChain を返します。
...名を追加して新しい Rake::InvocationChain を返します。
@param task_name 追加するタスク名を指定します。
@raise RuntimeError 循環したタスクの呼び出しを検出した場合に発生します。
//emlist[][ruby]{
# Rakefile での記載例とする
task defaul......t: :test_rake_app
task :test_rake_app do
invocation_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.append("task_b") # => LL("task_b", "task_a")
end
//}... -
Rake
:: PackageTask # package _ files -> Rake :: FileList (6306.0) -
パッケージに含むファイルリストを返します。
...します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.package_files # => []
package_task.package_files.include("*.rb")
pa......ckage_task.package_files # => ["test1.rb", "test2.rb"]
end
//}...