165件ヒット
[1-100件を表示]
(0.068秒)
クラス
-
Rake
:: Application (121) -
Rake
:: InvocationChain (11) -
Rake
:: InvocationChain :: EmptyInvocationChain (11) -
Rake
:: Task (22)
キーワード
-
add
_ loader (11) - application (11)
- application= (11)
- init (11)
-
load
_ rakefile (11) - member? (22)
- name (11)
-
original
_ dir (11) - rakefile (11)
- run (11)
-
top
_ level (11) -
top
_ level _ tasks (11) -
tty
_ output= (11)
検索結果
先頭5件
-
Rake
:: Task # application -> Rake :: Application (12403.0) -
自身を所有している Rake::Application のインスタンスを返します。
...自身を所有している Rake::Application のインスタンスを返します。... -
Rake
:: Task # application=(app) (12203.0) -
自身を所有している Rake::Application のインスタンスをセットします。
...自身を所有している Rake::Application のインスタンスをセットします。
@param app 自身を所有しているアプリケーションを指定します。... -
Rake
:: Application # add _ loader(ext , loader) (9203.0) -
与えられた拡張子で終わるファイル名のファイルをロードするためのローダーを 自身に追加します。
...@param loader ローダーを指定します。
//emlist[例][ruby]{
require "rake/loaders/makefile"
# Rakefile での記載例とする
task default: :test
task :test
makefile =<<-EOS
<< <<-'SAMPLE_MF'
# Comments
a: a1 a2 a3 a4
EOS
IO.write("sample.mf", makefile)
Rake.application.add_loader("......mf", Rake::MakefileLoader.new)
Rake.application.add_import("sample.mf")
Rake::Task.task_defined?("a") # => false
Rake.application.load_imports
Rake::Task.task_defined?("a") # => true
//}... -
Rake
:: Application # load _ rakefile (9103.0) -
Rakefile を探してロードします。
...
Rakefile を探してロードします。... -
Rake
:: Application # original _ dir -> String (9103.0) -
rake コマンドを実行したディレクトリを返します。
...
rake コマンドを実行したディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.original_dir # => "/path/to/dir"
end
//}... -
Rake
:: Application # rakefile -> String (9103.0) -
実際に使用されている Rakefile の名前を返します。
...実際に使用されている Rakefile の名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.rakefile # => "Rakefile"
end
//}... -
Rake
:: Application # top _ level (9103.0) -
Rake アプリケーションに与えられたトップレベルのタスク (コマンドラインで指定されたタスク) を実行します。
...
Rake アプリケーションに与えられたトップレベルのタスク
(コマンドラインで指定されたタスク) を実行します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test1
task :test1
task :test2 do
puts "test2"
end
# rake test2 で実行
R......ake.application.top_level
# => "test2"
//}... -
Rake
:: Application # top _ level _ tasks -> Array (9103.0) -
コマンドラインで指定されたタスクのリストを返します。
...コマンドラインで指定されたタスクのリストを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.top_level_tasks # => ["default"]
end
//}... -
Rake
:: InvocationChain :: EmptyInvocationChain # member?(task _ name) -> bool (6103.0) -
偽を返します。
偽を返します。 -
Rake
:: Application # init(app _ name = & # 39;rake& # 39;) (6003.0) -
コマンドラインオプションとアプリケーション名を初期化します。
...ンドラインオプションとアプリケーション名を初期化します。
//emlist[例][ruby]{
# Rakefile での記載例とする
task default: :test
task :test
Rake.application.name # => "rake"
Rake.application.init("MyApp") # => ["default"]
Rake.application.name # => "MyApp"
//}...