Fix ./mach upload-nightly macbrew

This commit is contained in:
Aneesh Agrawal 2017-05-29 18:42:24 -04:00
parent 939716a7bc
commit 45c499d011
2 changed files with 23 additions and 3 deletions

View file

@ -0,0 +1,21 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
class ServoBin < Formula
desc "Servo, the Parallel Browser Engine Project (binary version)"
homepage "http://servo.org"
url "PACKAGEURL"
version "VERSION"
sha256 "SHA"
bottle :unneeded
def install
prefix.install "bin", "libexec", "resources"
end
test do
system bin/"servo", "-o", "/dev/null", "-x", "http://example.com"
end
end