https://github.com/willnet/honobono
log helper for rake tasks
https://github.com/willnet/honobono
Last synced: about 1 year ago
JSON representation
log helper for rake tasks
- Host: GitHub
- URL: https://github.com/willnet/honobono
- Owner: willnet
- License: mit
- Created: 2014-05-16T05:00:00.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-08-31T14:00:46.000Z (almost 10 years ago)
- Last Synced: 2023-04-10T16:14:17.949Z (about 3 years ago)
- Language: Ruby
- Homepage:
- Size: 11.7 KB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Honobono
[](https://waffle.io/willnet/honobono)
[](https://codeclimate.com/github/willnet/honobono)
[](https://codeclimate.com/github/willnet/honobono/coverage)
[](https://codeclimate.com/github/willnet/honobono)
## WARNING
This gem is NOT implemented yet.
## やりたいこと
案です。[Issues](https://github.com/willnet/honobono/issues)でどんな感じで設計するか詰めていきます。
* rake タスクのログが簡単に取れる
* 開始時間、終了時間を出力
* デフォルトだと log/rake.log に出す
* 設定で変更できるように
* 全部出力するのはアレなので、出し分けできるようにする
* prerequisition で設定する
* `log do ... end` みたいなブロックも使えるようにする
* エラー時にもログ吐く
* 設定で airbrake などに投げることもできるようにしたい
* 普通にログだした後にエラーを再度 raise させるのでもよい?→独自の設定書いたりする需要あるはずなので、うまく設定できるようにしたい
## Usage
* You can use `honobono` command instead of `rake`.
* `hnbn` is alias
* `honobono` write log.
* default log file path is stdout.
## Installation
Add this line to your application's Gemfile:
gem 'honobono'
And then execute:
$ bundle
Or install it yourself as:
$ gem install honobono
## Contributing
1. Fork it ( https://github.com/willnet/honobono/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request