aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/servo-binary-formula.rb.in
diff options
context:
space:
mode:
authorAneesh Agrawal <aneeshusa@gmail.com>2017-05-29 18:42:24 -0400
committerAneesh Agrawal <aneeshusa@gmail.com>2017-05-30 14:27:27 -0400
commit45c499d011f911b127f771b5743f1b5cfcba40ef (patch)
tree1340be199871621bfbd8b1d12d37fa4af65ea133 /python/servo/servo-binary-formula.rb.in
parent939716a7bc2ba2fbd8dcfe8b64d2f61edfa99c95 (diff)
downloadservo-45c499d011f911b127f771b5743f1b5cfcba40ef.tar.gz
servo-45c499d011f911b127f771b5743f1b5cfcba40ef.zip
Fix `./mach upload-nightly macbrew`
Diffstat (limited to 'python/servo/servo-binary-formula.rb.in')
-rw-r--r--python/servo/servo-binary-formula.rb.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/python/servo/servo-binary-formula.rb.in b/python/servo/servo-binary-formula.rb.in
new file mode 100644
index 00000000000..fad773f93ab
--- /dev/null
+++ b/python/servo/servo-binary-formula.rb.in
@@ -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