Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のようなサードパーティのレーキタスクを使用しています。
abort("rake aborted!") if ask("Are you sure?", ['y', 'n']) == 'n'
このプロセスを自動化するために、いくつかの追加の rake タスクを作成しようとしています。この質問が出てくるのを抑える方法はありますか? yまたは、どうにかしてコマンドライン経由でフィードして満足させますか?
y
を編集できますがRakefile、それは最後の手段です。
Rakefile
という unix コマンドがあることを知って喜んでいるでしょうyes。これにより、必要なものの一定のストリームが得られますy。
yes