This gem is NOT implemented yet.
案です。Issuesでどんな感じで設計するか詰めていきます。
- rake タスクのログが簡単に取れる
- 開始時間、終了時間を出力
- デフォルトだと log/rake.log に出す
- 設定で変更できるように
- 全部出力するのはアレなので、出し分けできるようにする
- prerequisition で設定する
log do ... end
みたいなブロックも使えるようにする
- エラー時にもログ吐く
- 設定で airbrake などに投げることもできるようにしたい
- 普通にログだした後にエラーを再度 raise させるのでもよい?→独自の設定書いたりする需要あるはずなので、うまく設定できるようにしたい
- You can use
honobono
command instead ofrake
.hnbn
is alias
honobono
write log.- default log file path is stdout.
Add this line to your application's Gemfile:
gem 'honobono'
And then execute:
$ bundle
Or install it yourself as:
$ gem install honobono
- Fork it ( https://github.com/willnet/honobono/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request