summaryrefslogtreecommitdiff
path: root/homebrew/gitflowavh/.beer
blob: 3d3686ba5bfae2c8b2e81d94e8a0fe5c348702e4 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
    "name": "GitFlowAvh",
    "description": "AVH edition of git-flow",
    "url": "https://github.com/petervanderdoes/gitflow-avh/archive/1.12.2.tar.gz",
    "mirror": null,
    "homepage": "https://github.com/petervanderdoes/gitflow-avh",
    "depends": [
        {
            "depend": "gnu-getopt",
            "build-depend": false
        }
    ],
    "resource": [
        {
            "name": "completion",
            "url": "https://github.com/petervanderdoes/git-flow-completion/archive/0.6.0.tar.gz"
        },
        {
            "name": "completion",
            "url": "https://github.com/petervanderdoes/git-flow-completion.git"
        }
    ],
    "conflicts": [
        {
            "conflict": "git-flow",
            "reason": "Both install `git-flow` binaries and completions"
        }
    ],
    "patches": [],
    "install": [
        "system \"make\", \"prefix=#{libexec}\", \"install\"",
        "(bin/\"git-flow\").write <<~EOS",
        "#!/bin/bash",
        "export FLAGS_GETOPT_CMD=#{Formula[\"gnu-getopt\"].opt_bin}/getopt",
        "exec \"#{libexec}/bin/git-flow\" \"$@\"",
        "EOS",
        "resource(\"completion\").stage do",
        "bash_completion.install \"git-flow-completion.bash\"",
        "zsh_completion.install \"git-flow-completion.zsh\"",
        "fish_completion.install \"git.fish\""
    ],
    "version": "1.12.2",
    "file": "git-flow-avh.rb"
}