るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.034秒)
トップページ > バージョン:2.4.0[x] > クエリ:@[x] > クエリ:task[x] > ライブラリ:rake/loaders/makefile[x]

別のキーワード

  1. rake task
  2. task clear
  3. rake define_task
  4. rake empty_task_args
  5. task []

クラス

検索結果

Rake::MakefileLoader#load(filename) (133.0)

与えられた Makefile をロードします。

...

@param filename 読み込む Makefile の名前を指定します。

//emlist[][ruby]{
# Rakefile での記載例とする
require "rake/loaders/makefile"

task default: :test_rake_app

open "sample.mf", "w" do |io|
io << <<-'SAMPLE_MF'
# Comments
a: a1 a2 a3 a4
b: b1 b2 b3 \
b4 b5 b6\
#...