diff --git a/Formula/hg-flow.rb b/Formula/hg-flow.rb new file mode 100644 index 0000000000..4c9e7f2625 --- /dev/null +++ b/Formula/hg-flow.rb @@ -0,0 +1,24 @@ +require 'formula' + +class HgFlow < Formula + homepage 'https://bitbucket.org/yinwm/hgflow/wiki/Home' + url 'https://bitbucket.org/yinwm/hgflow/get/v0.3.tar.gz' + md5 '0c3305bc349be31da76ef82460019d09' + + head "http://bitbucket.org/yinwm/hgflow", :using => :hg + + def install + prefix.install 'src/hgflow/hgflow.py' + end + + def caveats; <<-EOS.undent + 1. Put following lines into your ~/.hgrc + 2. Restart your shell and try "hg flow". + 3. For more information go to http://bitbucket.org/yinwm/hgflow + + [extensions] + hgflow = #{prefix}/hgflow.py + + EOS + end +end