-
-
Save amio/c794653d93840ee38cb6af7fd53d1209 to your computer and use it in GitHub Desktop.
now cli
This file contains hidden or 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
require "language/node" | |
class NowCli < Formula | |
desc "The command-line interface for realtime global deployments." | |
homepage "https://zeit.co/now" | |
url "https://github.com/zeit/now-cli/archive/7.0.2.tar.gz" | |
sha256 "7924feb98f07a599cb9ffdabd07f95048864cf4fe15fdcbd2922b8cd8b32a8be" | |
def install | |
system "npm", "install", *Language::Node.std_npm_install_args(libexec) | |
system "npm run pack" | |
bin.install "packed/now" => "now" | |
end | |
test do | |
system "#{bin}/now", "-v" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment