<commit_before>class Microplane < Formula
  desc "CLI tool to make git changes across many repos"
  homepage "https://github.com/Clever/microplane"
  url "https://github.com/Clever/microplane/archive/v0.0.26.tar.gz"
  sha256 "00d6abe55fedd7385f1782fc97a520c4c0aac1ff6d2cece88fc7a21c2c49f024"
  license "Apache-2.0"
  head "https://github.com/Clever/microplane.git"

  bottle do
    sha256 cellar: :any_skip_relocation, big_sur:  "dd71709815772fbf94f434f77f7426ce0544d2343471cfe7d9c71fd3e7e9567a"
    sha256 cellar: :any_skip_relocation, catalina: "338b41245377f99989cc7ac786af29c075d7bec8764cedcb176fb21b9beb4ed7"
    sha256 cellar: :any_skip_relocation, mojave:   "9adc70ddbc6fa4e70e1b006d33222de211caa09d58773e70d449e974482ddfc5"
  end

  depends_on "dep" => :build
  depends_on "go" => :build

  def install
    ENV["GOPATH"] = buildpath

    dir = buildpath/"src/github.com/Clever/microplane"
    dir.install buildpath.children
    cd "src/github.com/Clever/microplane" do
      system "make", "install_deps"
      system "make", "build"
      bin.install "bin/mp"
    end
  end
<commit_msg>microplane: support go1.16<commit_after>class Microplane < Formula
  desc "CLI tool to make git changes across many repos"
  homepage "https://github.com/Clever/microplane"
  url "https://github.com/Clever/microplane/archive/v0.0.26.tar.gz"
  sha256 "00d6abe55fedd7385f1782fc97a520c4c0aac1ff6d2cece88fc7a21c2c49f024"
  license "Apache-2.0"
  head "https://github.com/Clever/microplane.git"

  bottle do
    sha256 cellar: :any_skip_relocation, big_sur:  "dd71709815772fbf94f434f77f7426ce0544d2343471cfe7d9c71fd3e7e9567a"
    sha256 cellar: :any_skip_relocation, catalina: "338b41245377f99989cc7ac786af29c075d7bec8764cedcb176fb21b9beb4ed7"
    sha256 cellar: :any_skip_relocation, mojave:   "9adc70ddbc6fa4e70e1b006d33222de211caa09d58773e70d449e974482ddfc5"
  end

  depends_on "dep" => :build
  depends_on "go" => :build

  def install
    ENV["GOPATH"] = buildpath
    ENV["GO111MODULE"] = "auto"
    ldflags = "-s -w -X main.version=#{version}"

    dir = buildpath/"src/github.com/Clever/microplane"
    dir.install buildpath.children
    cd "src/github.com/Clever/microplane" do
      system "dep", "ensure", "-v", "-vendor-only"
      system "go", "build", *std_go_args, "-ldflags", ldflags, "-o", bin/"mp"
    end
  end

{'fraction_non_alphanumeric': 0.10857389056441188, 'fraction_numerical': 0.14993537268418786, 'mean_word_length': 4.663414634146341, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 6, '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': '1163393', 'n_tokens_mistral': 1155, 'n_tokens_neox': 951, 'n_words': 150}