“Brew1” Ответ

Brew1

$ brew install wget
Eli

Brew1

$ brew create https://foo.com/bar-1.0.tgz
Created /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/bar.rb
Unusual Unicorn

Brew1

class Wget < Formula
  homepage "https://www.gnu.org/software/wget/"
  url "https://ftp.gnu.org/gnu/wget/wget-1.15.tar.gz"
  sha256 "52126be8cf1bddd7536886e74c053ad7d0ed2aa89b4b630f76785bac21695fcd"

  def install
    system "./configure", "--prefix=#{prefix}"
    system "make", "install"
  end
end
Poor Pollan

Brew1

$ brew edit wget # $EDITOR 에서 열음!
Unusual Unicorn

Смотреть популярные ответы по языку

Смотреть другие языки программирования