<commit_before>class FaasCli < Formula
  desc "CLI for templating and/or deploying FaaS functions"
  homepage "https://docs.get-faas.com/"
  url "https://github.com/openfaas/faas-cli.git",
      :tag => "0.6.11",
      :revision => "3995a8197f1df1ecdf524844477cffa04e4690ea"

  bottle do
    cellar :any_skip_relocation
    sha256 "498c2317bae27abc503f59ccfc2c4592f38dd6c0b68f7cbd5777905f629bfaf5" => :high_sierra
    sha256 "b3cbad129d63302de81e9883dc2d3276c71499a86a509cdb096e2cf927cd2d10" => :sierra
    sha256 "b91b838183381bc2200b3fbe9de03ffa6b48465f761dc8eddbb177bd6a67ffd1" => :el_capitan
  end

  depends_on "go" => :build

  def install
    ENV["XC_OS"] = "darwin"
    ENV["XC_ARCH"] = MacOS.prefer_64_bit? ? "amd64" : "386"
    ENV["GOPATH"] = buildpath
    (buildpath/"src/github.com/openfaas/faas-cli").install buildpath.children
    cd "src/github.com/openfaas/faas-cli" do
      project = "github.com/openfaas/faas-cli"
      commit = Utils.popen_read("git", "rev-parse", "HEAD").chomp
      system "go", "build", "-ldflags",
             "-s -w -X #{project}/version.GitCommit=#{commit} -X #{project}/version.Version=#{version}", "-a",
             "-installsuffix", "cgo", "-o", bin/"faas-cli"
      bin.install_symlink "faas-cli" => "faas"
      prefix.install_metafiles
    end
  end<commit_msg>faas-cli 0.6.12<commit_after>class FaasCli < Formula
  desc "CLI for templating and/or deploying FaaS functions"
  homepage "https://docs.get-faas.com/"
  url "https://github.com/openfaas/faas-cli.git",
      :tag => "0.6.12",
      :revision => "d33cb5cdc128b75fc7a9856c30fc0eded39fec1e"

  bottle do
    cellar :any_skip_relocation
    sha256 "498c2317bae27abc503f59ccfc2c4592f38dd6c0b68f7cbd5777905f629bfaf5" => :high_sierra
    sha256 "b3cbad129d63302de81e9883dc2d3276c71499a86a509cdb096e2cf927cd2d10" => :sierra
    sha256 "b91b838183381bc2200b3fbe9de03ffa6b48465f761dc8eddbb177bd6a67ffd1" => :el_capitan
  end

  depends_on "go" => :build

  def install
    ENV["XC_OS"] = "darwin"
    ENV["XC_ARCH"] = MacOS.prefer_64_bit? ? "amd64" : "386"
    ENV["GOPATH"] = buildpath
    (buildpath/"src/github.com/openfaas/faas-cli").install buildpath.children
    cd "src/github.com/openfaas/faas-cli" do
      project = "github.com/openfaas/faas-cli"
      commit = Utils.popen_read("git", "rev-parse", "HEAD").chomp
      system "go", "build", "-ldflags",
             "-s -w -X #{project}/version.GitCommit=#{commit} -X #{project}/version.Version=#{version}", "-a",
             "-installsuffix", "cgo", "-o", bin/"faas-cli"
      bin.install_symlink "faas-cli" => "faas"
      prefix.install_metafiles
    end
  end
{'fraction_non_alphanumeric': 0.1449771689497717, 'fraction_numerical': 0.11948249619482496, 'mean_word_length': 3.7713248638838475, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5788340', 'n_tokens_mistral': 1251, 'n_tokens_neox': 1089, 'n_words': 156}