Skip to content

Instantly share code, notes, and snippets.

@hcoona
Created June 18, 2019 04:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hcoona/89d64de1fe2ad159b805cd083ae098ea to your computer and use it in GitHub Desktop.
Save hcoona/89d64de1fe2ad159b805cd083ae098ea to your computer and use it in GitHub Desktop.
semantics.rb hit homebrew bug.
class Semantic < Formula
desc "Parsing, analyzing, and comparing source code across many languages"
homepage "https://github.com/github/semantic"
url "https://github.com/github/semantic/archive/0.6.0.zip"
sha256 "d9eb696e13b8b2b0a543e49e4082a26bdad3b66aadc2806687db3b1ea0e506c6"
head "https://github.com/github/semantic.git"
bottle do
sha256 "061df034a6db511da9527d4854e125c16facb65bd0220255e35083f7f244666a" => :mojave
sha256 "e5b22a9027074824151f20a99cabca01e1a5188732fc5b63887ce08e654c11c6" => :high_sierra
sha256 "91f38ecb0cfe35b1e8f687226710e1a348d7dcdf67c71cb209688a5875d9f11d" => :sierra
end
depends_on "cabal-install" => :build
depends_on "ghc" => :build
def install
system "git", "submodule", "sync", "--recursive"
system "git", "submodule", "update", "--init", "--recursive"
system "cabal", "new-update"
system "cabal", "new-install", "--prefix=#{prefix}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment