-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d784bb1
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# homebrew-rayssh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Documentation: https://docs.brew.sh/Formula-Cookbook | ||
# http://www.rubydoc.info/github/Homebrew/brew/master/Formula | ||
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! | ||
class Rayssh < Formula | ||
desc "rayssh transfer" | ||
homepage "https://www.raysync.cn/" | ||
url "https://raw.githubusercontent.com/vsberm/rayssh-release/master/macOS/rayssh-0.0.1.tar.gz" | ||
sha256 "62a295ea7e88286ecbfe13b1eb30ba7db298e87c3716f64346bb8f417aee21b7" | ||
# depends_on "cmake" => :build | ||
|
||
def install | ||
# ENV.deparallelize # if your formula fails when building in parallel | ||
# Remove unrecognized options if warned by configure | ||
# system "cmake", ".", *std_cmake_args | ||
bin.install "./bin/rayscp" | ||
bin.install "./bin/rayssh" | ||
bin.install "./bin/rayssh-keygen" | ||
bin.install "./bin/rsync" | ||
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 rayssh`. 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 |