PageRenderTime 42ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/Library/Formula/hg-flow.rb

https://bitbucket.org/destructuring/homebrew
Ruby | 24 lines | 18 code | 6 blank | 0 comment | 0 complexity | 5d3eb4fff09ad73dc8fa18b75a4336b8 MD5 | raw file
  1. require 'formula'
  2. class HgFlow < Formula
  3. homepage 'https://bitbucket.org/yinwm/hgflow/wiki/Home'
  4. url 'https://bitbucket.org/yinwm/hgflow/get/v0.3.tar.gz'
  5. sha1 '56250d4ce9f2e24a71e6a3c4b1f3e1d37bb64766'
  6. head "http://bitbucket.org/yinwm/hgflow", :using => :hg
  7. def install
  8. prefix.install 'src/hgflow/hgflow.py'
  9. end
  10. def caveats; <<-EOS.undent
  11. 1. Put following lines into your ~/.hgrc
  12. 2. Restart your shell and try "hg flow".
  13. 3. For more information go to http://bitbucket.org/yinwm/hgflow
  14. [extensions]
  15. hgflow = #{prefix}/hgflow.py
  16. EOS
  17. end
  18. end