Slide 17
Slide 17 text
class Toybox < Formula
desc "Xcode Playground management made easy"
homepage "https://github.com/giginet/Toybox"
url "https://github.com/giginet/Toybox.git",
:tag => "0.1.0",
:revision => "e65059061cd33bdbc01fe9883e6e4d2c863979f4",
:shallow => false
head "https://github.com/giginet/Toybox.git", :shallow => false
depends_on :xcode => ["8.0", :build]
depends_on 'carthage' => :build
def install
system "make", "prefix_install", "PREFIX=#{prefix}"
bash_completion.install "Sources/Scripts/toybox-bash-
completion" => "toybox"
zsh_completion.install "Sources/Scripts/toybox-zsh-completion"
=> "_toybox"
end
test do
system bin/"toybox"
end
end