mirror of
https://github.com/strongdm/comply
synced 2024-11-13 19:34:54 +00:00
23 lines
609 B
Ruby
23 lines
609 B
Ruby
class Comply < Formula
|
|
desc ""
|
|
homepage ""
|
|
url "file:///Users/jmccarthy/Downloads/comply-1.1.3.tgz"
|
|
sha256 "01f9920e5e9fbd29386e4a4131fac78c002730e49c3f870a0ee2b958c3ce75f6"
|
|
|
|
depends_on "go" => :build
|
|
|
|
def install
|
|
ENV["GOPATH"] = buildpath
|
|
ENV.prepend_create_path "PATH", buildpath/"bin"
|
|
(buildpath/"src/github.com/strongdm/comply").install buildpath.children
|
|
cd "src/github.com/strongdm/comply" do
|
|
system "make", "brew"
|
|
bin.install "bin/comply"
|
|
end
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/sdm", "logout"
|
|
end
|
|
end
|