276件ヒット
[101-200件を表示]
(0.059秒)
別のキーワード
クラス
-
Rake
:: Application (24) -
Rake
:: DefaultLoader (12) -
Rake
:: FileList (24) -
Rake
:: InvocationChain (24) -
Rake
:: MakefileLoader (12) -
Rake
:: NameSpace (24) -
Rake
:: PackageTask (36) -
Rake
:: TaskArguments (60)
モジュール
-
Rake
:: TaskManager (60)
キーワード
- [] (36)
- append (12)
- egrep (12)
-
excluded
_ from _ list? (12) -
in
_ namespace (12) - init (12)
- intern (12)
- load (24)
- lookup (12)
- member? (12)
- name= (12)
- names (12)
-
new
_ scope (12) -
package
_ dir= (12) -
synthesize
_ file _ task (12) - tasks (12)
-
to
_ hash (12) -
with
_ defaults (12)
検索結果
先頭5件
-
Rake
:: Application # init(app _ name = & # 39;rake& # 39;) (128.0) -
コマンドラインオプションとアプリケーション名を初期化します。
...ンドラインオプションとアプリケーション名を初期化します。
//emlist[例][ruby]{
# Rakefile での記載例とする
task default: :test
task :test
Rake.application.name # => "rake"
Rake.application.init("MyApp") # => ["default"]
Rake.application.name # => "MyApp"
//}... -
Rake
:: FileList # excluded _ from _ list?(file _ name) -> bool (122.0) -
与えられたファイル名が除外される場合は、真を返します。 そうでない場合は偽を返します。
...ない場合は偽を返します。
@param file_name ファイル名を指定します。
//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", "t... -
Rake
:: InvocationChain # append(task _ name) -> Rake :: InvocationChain (122.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
:: InvocationChain # member?(task _ name) -> bool (122.0) -
与えられたタスク名が自身に含まれる場合は真を返します。 そうでない場合は偽を返します。
...場合は偽を返します。
@param task_name タスク名を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
invocation_chain = Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.mem... -
Rake
:: TaskManager # [](task _ name , scopes = nil) -> Rake :: Task (122.0) -
与えられたタスク名にマッチするタスクを検索します。
...す。
@param task_name タスク名を指定します。
@param scopes スコープを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application["test_rake_app"] # => <Rake::Task test_rake_app => []>
end
//}... -
Rake
:: TaskManager # intern(task _ class , task _ name) -> Rake :: Task (122.0) -
タスクを検索します。
...am 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
//}... -
Rake
:: TaskManager # lookup(task _ name , initial _ scope = nil) -> Rake :: Task | nil (122.0) -
与えられたタスク名にマッチするタスクを検索します。
...ask_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_rake_app... -
Rake
:: TaskManager # synthesize _ file _ task(task _ name) -> Rake :: FileTask | nil (122.0) -
与えられたタスク名をもとにファイルタスクを合成します。
...与えられたタスク名をもとにファイルタスクを合成します。
@param task_name タスク名を指定します。
@return 与えられたタスク名と同名のファイルが存在する場合は、ファイルタスクを作成して返します。
そうでない場......す。
//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_... -
Rake
:: DefaultLoader # load(filename) (115.0) -
与えられたファイルをロードします。
...与えられたファイルをロードします。
@param filename ロードするファイル名を指定します。
//emlist[][ruby]{
require 'rake'
loader = Rake::DefaultLoader.new
loader.load("path/to/Rakefile") # => true
//}...