312件ヒット
[1-100件を表示]
(0.143秒)
ライブラリ
- rake (312)
クラス
-
Rake
:: Application (108) -
Rake
:: FileTask (24) -
Rake
:: Task (24)
モジュール
-
Rake
:: TaskManager (156)
キーワード
- [] (12)
-
add
_ loader (12) - application= (12)
- clear (12)
-
create
_ rule (12) -
current
_ scope (12) -
define
_ task (12) -
in
_ namespace (12) - init (12)
- intern (12)
-
last
_ comment (12) -
last
_ description (12) -
last
_ description= (12) - lookup (12)
- name (12)
- needed? (12)
-
original
_ dir (12) - rakefile (12)
-
synthesize
_ file _ task (12) - tasks (12)
-
top
_ level (12) -
top
_ level _ tasks (12) -
tty
_ output= (12)
検索結果
先頭5件
-
Rake
:: Task # application -> Rake :: Application (27419.0) -
自身を所有している Rake::Application のインスタンスを返します。
...自身を所有している Rake::Application のインスタンスを返します。... -
Rake
:: TaskManager # define _ task(task _ class , *args) { . . . } -> Rake :: Task (18658.0) -
タスクを定義します。
...aram task_class タスククラスを指定します。
@param args タスクに渡すパラメータを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.define_task(Rake::Task, :t) # => <Rake::Task t =>... -
Rake
:: TaskManager # synthesize _ file _ task(task _ name) -> Rake :: FileTask | nil (18463.0) -
与えられたタスク名をもとにファイルタスクを合成します。
...成します。
@param task_name タスク名を指定します。
@return 与えられたタスク名と同名のファイルが存在する場合は、ファイルタスクを作成して返します。
そうでない場合は nil を返します。
@raise RuntimeError タスクを合......。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do |task|
task.application.synthesize_file_task("sample_file") # => nil
IO.write("sample_file", "")
task.application.synthesize_file_task("sample_file") # => <Rake::FileTask sample_fil... -
Rake
:: TaskManager # tasks -> Array (18261.0) -
全てのタスクリストを返します。
...st[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app2
task :test_rake_app1 do |task|
end
task :test_rake_app2 do |task|
pp task.application.tasks
# => [<Rake::Task default => [test_rake_app2]>,
# <Rake::Task test_rake_app1 => []>,
# <Rake::Task t......est_rake_app2 => []>]
end
//}... -
Rake
:: Application # top _ level _ tasks -> Array (15219.0) -
コマンドラインで指定されたタスクのリストを返します。
...コマンドラインで指定されたタスクのリストを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.top_level_tasks # => ["default"]
end
//}... -
Rake
:: Task # application=(app) (15218.0) -
自身を所有している Rake::Application のインスタンスをセットします。
...自身を所有している Rake::Application のインスタンスをセットします。
@param app 自身を所有しているアプリケーションを指定します。... -
Rake
:: FileTask # timestamp -> Time | Rake :: LateTime (12325.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
:: Application # options -> OpenStruct (12125.0) -
コマンドラインで与えられたアプリケーションのオプションを返します。
.../emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.options # => #<OpenStruct always_multitask=false, backtrace=false, build_all=false, dryrun=false, ignore_deprecate=false, ignore_system=false, job_stats=false, load_system=fa......lse, nosearch=false, rakelib=["rakelib"], show_all_tasks=false, show_prereqs=false, show_task_pattern=nil, show_tasks=nil, silent=false, suppress_backtrace_pattern=nil, thread_pool_size=8, trace=false, trace_output=#<IO:<STDERR>>, trace_rules=false>
end
//}... -
Rake
:: TaskManager # intern(task _ class , task _ name) -> Rake :: Task (9494.0) -
タスクを検索します。
... task_class タスクのクラスを指定します。
@param task_name タスクの名前を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do |task|
task.application.intern(Rake::Task, "test_rake_app") # => <Rake::Task...... test_rake_app => []>
task.application.intern(Rake::Task, "sample_task") # => <Rake::Task sample_task => []>
end
//}...