216件ヒット
[101-200件を表示]
(0.073秒)
別のキーワード
ライブラリ
- rake (216)
クラス
-
Rake
:: Application (12) -
Rake
:: FileTask (24) -
Rake
:: Task (24)
モジュール
-
Rake
:: TaskManager (156)
キーワード
- [] (12)
- application= (12)
- clear (12)
-
create
_ rule (12) -
current
_ scope (12) -
define
_ task (12) -
in
_ namespace (12) - intern (12)
-
last
_ comment (12) -
last
_ description (12) -
last
_ description= (12) - lookup (12)
- needed? (12)
-
synthesize
_ file _ task (12) - tasks (12)
-
top
_ level _ tasks (12)
検索結果
先頭5件
-
Rake
:: TaskManager # lookup(task _ name , initial _ scope = nil) -> Rake :: Task | nil (3207.0) -
与えられたタスク名にマッチするタスクを検索します。
...param task_name タスク名を指定します。
@param initial_scope 検索するスコープを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do |task|
task.application.lookup("test_rake_app") # => <Rake::Task test_r... -
Rake
:: TaskManager # clear (3019.0) -
全てのタスクとルールをクリアします。
...ます。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.tasks # => [<Rake::Task default => [test_rake_app]>, <Rake::Task test_rake_app => []>]
Rake.application.clear # => []
Rake.application.tasks # => []
end
//}... -
Rake
:: TaskManager # last _ description=(description) (3019.0) -
最新の詳細説明をセットします。
...の記載例とする
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_app2 do |task|
end
//}... -
Rake
:: FileTask # needed? -> bool (3007.0) -
このタスクが必要である場合は真を返します。 そうでない場合は偽を返します。
...るファイルが古い場合に真を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: "test.txt"
file "test.txt" do |task|
Rake.application.options.build_all = false
task.needed? # => true
IO.write("test.txt", "test")
task.needed? # => false
end
//}... -
Rake
:: FileTask # timestamp -> Time | Rake :: LateTime (3007.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
:: TaskManager # create _ rule(*args) { . . . } (3007.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 # current _ scope -> Array (3007.0) -
現在のスコープを返します。
...現在のスコープを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.current_scope # => LL()
end
//}... -
Rake
:: TaskManager # in _ namespace(name) {|name _ space| . . . } -> Array (3007.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
:: TaskManager # last _ comment -> String (3007.0) -
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_app2 do |task|
end
//}...