-
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
James Pozdena
committed
Jan 20, 2023
1 parent
e8693cd
commit d24adfe
Showing
1 changed file
with
28 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,28 @@ | ||
class Moon < Formula | ||
desc "" | ||
homepage "" | ||
url "https://github.com/moonrepo/moon/archive/refs/tags/@moonrepo/[email protected]" | ||
sha256 "c4eeee0374f20976a2a99cd35ce223f64c418341a39767a4d7889ee4ae1c6141" | ||
license "" | ||
|
||
depends_on "rust" => :build | ||
|
||
def install | ||
chdir "crates/cli" do | ||
system "cargo", "install", *std_cargo_args | ||
end | ||
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 moon`. 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 |