Permalink
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (24 sloc) 818 Bytes
class Po < Formula
desc "Particle Offline Utility: The Ultimate Local Particle Experience"
homepage "https://po-util.com"
url "https://github.com/nrobinson2000/po/archive/0.5.6.tar.gz"
sha256 "bb0ed7aae8b87f6398ad03cacd8c45cc7756d6300a98dc28395a23ee0344462f"
head "https://github.com/nrobinson2000/po", :using => :git
def install
bin.install "bin/po"
share.install "share/po-common"
share.install "share/po-mac"
man1.install "man/po.1"
bash_completion.install "completion/po"
end
def caveats; <<~EOS
In order to complete the installation of po-util,
you must run "po install".
For Raspberry Pi support you must have docker installed.
EOS
end
test do
system "#{bin}/po", "config", "release/v0.6.3", "duo", "false"
system "#{bin}/po", "info"
end
end