1080件ヒット
[1-100件を表示]
(0.022秒)
種類
- インスタンスメソッド (876)
- 特異メソッド (144)
- ライブラリ (48)
- クラス (12)
ライブラリ
- rake (816)
-
rake
/ loaders / makefile (12) -
rake
/ packagetask (192) -
rake
/ testtask (12)
クラス
-
Rake
:: Application (84) -
Rake
:: FileList (204) -
Rake
:: FileTask (24) -
Rake
:: InvocationChain (60) -
Rake
:: InvocationChain :: EmptyInvocationChain (12) -
Rake
:: MakefileLoader (12) -
Rake
:: NameSpace (36) -
Rake
:: PackageTask (192) -
Rake
:: TaskArguments (72)
モジュール
- Kernel (60)
- Rake (36)
-
Rake
:: Cloneable (24) -
Rake
:: TaskManager (156) - RakeFileUtils (48)
キーワード
- == (12)
- TestTask (12)
- [] (36)
- append (36)
- application (12)
- application= (12)
- clear (12)
-
clear
_ exclude (12) - clone (12)
-
create
_ rule (12) -
current
_ scope (12) -
define
_ task (12) - desc (12)
- dup (12)
- egrep (12)
-
excluded
_ from _ list? (12) - existing (12)
- existing! (12)
- ext (12)
- file (12)
- gsub! (12)
- import (12)
-
in
_ namespace (12) - intern (12)
-
is
_ a? (12) -
kind
_ of? (12) -
last
_ comment (12) -
last
_ description (12) -
last
_ description= (12) - load (12)
- lookup (12)
- member? (12)
- name (24)
- name= (12)
- names (12)
- namespace (12)
-
need
_ tar (12) -
need
_ tar= (12) -
need
_ tar _ bz2 (12) -
need
_ tar _ bz2= (12) -
need
_ tar _ gz (12) -
need
_ tar _ gz= (12) -
need
_ zip (12) -
need
_ zip= (12) - needed? (12)
- new (48)
-
new
_ scope (12) -
nowrite
_ flag (12) -
nowrite
_ flag= (12) -
original
_ dir (24) -
package
_ dir (12) -
package
_ dir= (12) -
package
_ dir _ path (12) -
package
_ files (12) -
package
_ files= (12) - pathmap (12)
- rake (12)
-
rake
/ gempackagetask (12) -
rake
/ packagetask (12) -
rake
/ rdoctask (12) - rakefile (12)
- resolve (12)
- rule (12)
- sub! (12)
-
synthesize
_ file _ task (12) - tasks (24)
-
to
_ a (12) -
to
_ ary (12) -
to
_ hash (12) -
to
_ s (24) -
top
_ level (12) -
top
_ level _ tasks (12) -
tty
_ output= (12) -
verbose
_ flag (12) -
verbose
_ flag= (12) -
with
_ defaults (12)
検索結果
先頭5件
-
Kernel
# task(*args) { . . . } -> Rake :: Task (18226.0) -
Rake タスクを定義します。
...Rake タスクを定義します。
@param args タスク名と依存タスクを指定します。
例:
task :clobber => [:clean] do
rm_rf "html"
end
@see Rake::Task.define_task... -
Rake
:: TaskManager # synthesize _ file _ task(task _ name) -> Rake :: FileTask | nil (9356.0) -
与えられたタスク名をもとにファイルタスクを合成します。
...与えられたタスク名をもとにファイルタスクを合成します。
@param task_name タスク名を指定します。
@return 与えられたタスク名と同名のファイルが存在する場合は、ファイルタスクを作成して返します。
そうでない場......by]{
# 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_file => []>
end
//}... -
Rake
:: TaskManager # define _ task(task _ class , *args) { . . . } -> Rake :: Task (9345.0) -
タスクを定義します。
...param 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 =......> []>
end
//}... -
Rake
:: TaskManager # tasks -> Array (9166.0) -
全てのタスクリストを返します。
...載例とする
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 test_rake_app2 => []>]
end
//}... -
Rake
:: InvocationChain # append(task _ name) -> Rake :: InvocationChain (6249.0) -
与えられたタスク名を追加して新しい Rake::InvocationChain を返します。
...を返します。
@param task_name 追加するタスク名を指定します。
@raise RuntimeError 循環したタスクの呼び出しを検出した場合に発生します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
invoca......tion_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.append("task_b") # => LL("task_b", "task_a")
end
//}... -
Rake
:: InvocationChain . append(task _ name , chain) -> Rake :: InvocationChain (6237.0) -
与えられたタスク名を第二引数の Rake::InvocationChain に追加します。
...hain に追加します。
@param task_name タスク名を指定します。
@param chain 既に存在する Rake::InvocationChain のインスタンスを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_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
:: InvocationChain :: EmptyInvocationChain # append(task _ name) -> Rake :: InvocationChain (6207.0) -
与えられた値を追加した Rake::InvocationChain を返します。
...与えられた値を追加した Rake::InvocationChain を返します。
@param task_name 追加する値を指定します。... -
Rake
:: NameSpace # tasks -> Array (6142.0) -
タスクのリストを返します。
...タスクのリストを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
namespace :ns do |ns|
task :ts1 do
end
task :ts2 do
end
ns.tasks # => [<Rake::Task ns:ts1 => []>, <Rake::Task ns:ts2 => []>]
end
//}... -
Rake
:: Application # top _ level _ tasks -> Array (6118.0) -
コマンドラインで指定されたタスクのリストを返します。
...コマンドラインで指定されたタスクのリストを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.top_level_tasks # => ["default"]
end
//}...