2009年12月18日金曜日

[Rake] タスクに引数を渡す

コマンド
 rake タスク名 hoge='poge'

Rakefile
 task タスク名 do
  puts ENV['hoge']
 end

0 件のコメント:

コメントを投稿