804件ヒット
[1-100件を表示]
(0.036秒)
別のキーワード
クラス
-
Rake
:: Application (84) -
Rake
:: FileList (204) -
Rake
:: FileTask (24) -
Rake
:: InvocationChain (36) -
Rake
:: MakefileLoader (12) -
Rake
:: NameSpace (24) -
Rake
:: PackageTask (180) -
Rake
:: TaskArguments (60)
モジュール
-
Rake
:: Cloneable (24) -
Rake
:: TaskManager (156)
キーワード
- == (12)
- [] (36)
- append (12)
- clear (12)
-
clear
_ exclude (12) - clone (12)
-
create
_ rule (12) -
current
_ scope (12) -
define
_ task (12) - dup (12)
- egrep (12)
-
excluded
_ from _ list? (12) - existing (12)
- existing! (12)
- ext (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)
-
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
_ scope (12) -
original
_ dir (12) -
package
_ dir (12) -
package
_ dir= (12) -
package
_ dir _ path (12) -
package
_ files (12) -
package
_ files= (12) - pathmap (12)
- rakefile (12)
- resolve (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) -
with
_ defaults (12)
検索結果
先頭5件
-
Rake
:: InvocationChain # append(task _ name) -> Rake :: InvocationChain (6121.0) -
与えられたタスク名を追加して新しい Rake::InvocationChain を返します。
...しい Rake::InvocationChain を返します。
@param task_name 追加するタスク名を指定します。
@raise RuntimeError 循環したタスクの呼び出しを検出した場合に発生します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
tas......k :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
:: TaskManager # in _ namespace(name) {|name _ space| . . . } -> Array (39.0) -
与えられた名前の名前空間でブロックを評価します。
...ます。
@param name 名前を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
namespace :sample do
def hoge
puts "hoge"
end
end
task :test_rake_app do
task.application.in_namespace("sample") do
hoge # => "hoge"
end
end
//}... -
Rake
:: NameSpace # [](name) -> Rake :: Task (33.0) -
与えられた名前のタスクを返します。
...のタスクを返します。
@param name タスクの名前を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
namespace :ns do |ns|
task :ts1 do
end
task :ts2 do
end
ns[:ts1] # => <Rake::Task ns:ts1 => []>
ns[:ts2] # => <Rake::Task ns:ts2 => []>
end
//}... -
Rake
:: NameSpace # tasks -> Array (33.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
:: FileList # egrep(pattern) {|filename , count , line| . . . } (27.0) -
与えられたパターンをファイルリストから grep のように検索します。
...am pattern 正規表現を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("sample1", "line1\nline2\nline3\n")
IO.write("sample2", "line1\nline2\nline3\nline4\n")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new('sample*')
file_lis......t.egrep(/line/) # => 7
file_list.egrep(/.*/) do |filename, count, line|
"filename = #{filename}, count = #{count}, line = #{line}"
end
end
# => "filename = sample1, count = 1, line = line1\n"
# => "filename = sample1, count = 2, line = line2\n"
# => "filename = sample1, count = 3, line = l... -
Rake
:: TaskManager # create _ rule(*args) { . . . } (27.0) -
与えられたパラメータに従ってルールを作成します。
...に与えるパラメータを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
rule = Rake.application.create_rule '.txt' => '.md' do |t|
"#{t}"
end
p rule # => 0x0000558dd2e32d20 /path/to/Rakefile:5>
end
//}... -
Rake
:: TaskManager # last _ comment -> String (27.0) -
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
...
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app1
desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end
desc "test2"
task :test_rake_a......pp2 do |task|
end
//}... -
Rake
:: TaskManager # last _ description -> String (27.0) -
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
...
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app1
desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end
desc "test2"
task :test_rake_a......pp2 do |task|
end
//}... -
Rake
:: TaskManager # last _ description=(description) (27.0) -
最新の詳細説明をセットします。
...][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app1
desc "test1"
task :test_rake_app1 do |task|
task.application.last_description # => "test2"
task.application.last_description = "test3"
task.application.last_description # => "test3"
end
desc "test2"
task :test_rake_a......pp2 do |task|
end
//}...