blob: 8ea8ab4dea64ac99e4ffe42ce5ace4e08eda561b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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'
sha1 '56250d4ce9f2e24a71e6a3c4b1f3e1d37bb64766'
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
|