-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadb.rb
31 lines (28 loc) · 1.21 KB
/
adb.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Documentation: https://docs.brew.sh/Formula-Cookbook
# https://rubydoc.brew.sh/Formula
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
class Adb < Formula
desc "Airdb Development Builder"
homepage "https://github.com/airdb/adb/releases/"
version "2.0.0"
#url "https://github.com/airdb/adb/releases/latest/download/adb-darwin-amd64.zip"
url "https://github.com/airdb/adb/releases/download/v1.0.2/adb-darwin-amd64.zip"
sha256 "552a9144d18830552f76879da8f9772f54aa6264f82f7da6579e09414059faa5"
# depends_on "cmake" => :build
def install
bin.install "adb-darwin"
mv bin/"adb-darwin", bin/"adb"
end
test do
# `test do` will create, run in and delete a temporary directory.
#
# This test will fail and we won't accept that! For Homebrew/homebrew-core
# this will need to be a test that verifies the functionality of the
# software. Run the test with `brew test adb`. Options passed
# to `brew install` such as `--HEAD` also need to be provided to `brew test`.
#
# The installed folder is not in the path, so use the entire path to any
# executables being tested: `system "#{bin}/program", "do", "something"`.
system "false"
end
end