るりまサーチ

最速Rubyリファレンスマニュアル検索!
539件ヒット [1-100件を表示] (0.136秒)
トップページ > クエリ:i[x] > クエリ:-[x] > クエリ:rakefile[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. csv to_i
  5. matrix i

ライブラリ

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

Rake::Application#rakefile -> String (24335.0)

実際に使用されている Rakefile の名前を返します。

...実際に使用されている Rakefile の名前を返します。

//emlist[][ruby]{
# Rakefile での記載例とする

task default: :test_rake_app
task :test_rake_app do
Rake.application.rakefile # => "Rakefile"
end
//}...

Rake::Application::DEFAULT_RAKEFILES -> Array (12340.0)

デフォルトで Rakefile として扱うファイル名の配列を返します。

...デフォルトで Rakefile として扱うファイル名の配列を返します。

'rakefile', 'Rakefile', 'rakefile.rb', 'Rakefile.rb' が指定されています。...

RakeFileUtils.nowrite_flag -> bool (12206.0)

この値が真の場合、実際のファイル書き込みをともなう操作は行いません。 そうでない場合、ファイル書き込みを行います。

...ァイル書き込みをともなう操作は行いません。
そうでない場合、ファイル書き込みを行います。

//emlist[][ruby]{
# Rakefile での記載例とする
task default: :sample_file_task

file :sample_file_task do |t|
RakeFile
Utils.nowrite_flag # => false
end
//}...

RakeFileUtils.verbose_flag -> bool (9106.0)

この値が真の場合、詳細を表示します。

...この値が真の場合、詳細を表示します。

//emlist[][ruby]{
# Rakefile での記載例とする

task default: :sample_file_task

file :sample_file_task do |t|
# --verbose で rake を実行する
RakeFile
Utils.verbose_flag # => true
end
//}...

Rake::FileTask#timestamp -> Time | Rake::LateTime (6406.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::InvocationChain.append(task_name, chain) -> Rake::InvocationChain (6406.0)

与えられたタスク名を第二引数の Rake::InvocationChain に追加します。

...たタスク名を第二引数の Rake::InvocationChain に追加します。

@param task_name タスク名を指定します。

@param chain 既に存在する Rake::InvocationChain のインスタンスを指定します。

//emlist[][ruby]{
# Rakefile での記載例とする

task default: :t...
...est_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.application -> Rake::Application (6342.0)

現在の Rake アプリケーションを返します。

...

//emlist[][ruby]{
# Rakefile での記載例とする

require 'pp'

task default: :test_rake_app
task :test_rake_app do
pp Rake.application
end

# => #<Rake::Application:0x31b0f18
# @default_loader=#<Rake::DefaultLoader:0x31b0c78>,
# @imported=[],
# @last_description=nil,
# @...
...b10>},
# @name="rake",
# @options=#<OpenStruct rakelib=["rakelib"], trace_output=#<IO:<STDERR>>>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile="rakefile",
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=...
...LL(),
# @tasks=
# {"default"=><Rake::Task default => [test_rake_app]>,
# "test_rake_app"=><Rake::Task test_rake_app => []>},
# @terminal_columns=0,
# @top_level_tasks=["default"],
# @tty_output=false>
//}...

Rake::FileList#existing -> Rake::FileList (6306.0)

自身に含まれるファイルのうちファイルシステムに存在するファイルのみを 含む Rake::FileList を返します。

...む Rake::FileList を返します。

//emlist[][ruby]{
# Rakefile での記載例とする

I
O.write("test1.rb", "test")
I
O.write("test2.rb", "test")

task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.existing # => ["test...

Rake::InvocationChain#append(task_name) -> Rake::InvocationChain (6306.0)

与えられたタスク名を追加して新しい Rake::InvocationChain を返します。

...名を追加して新しい Rake::InvocationChain を返します。

@param task_name 追加するタスク名を指定します。

@raise RuntimeError 循環したタスクの呼び出しを検出した場合に発生します。

//emlist[][ruby]{
# Rakefile での記載例とする

task defaul...
...t: :test_rake_app
task :test_rake_app do
i
nvocation_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
i
nvocation_chain.append("task_b") # => LL("task_b", "task_a")
end
//}...

Rake::PackageTask#package_files -> Rake::FileList (6306.0)

パッケージに含むファイルリストを返します。

...します。

//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'

I
O.write("test1.rb", "test")
I
O.write("test2.rb", "test")

Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.package_files # => []
package_task.package_files.include("*.rb")
pa...
...ckage_task.package_files # => ["test1.rb", "test2.rb"]
end
//}...

絞り込み条件を変える

<< 1 2 3 ... > >>