Added SourceDocsSwift

This commit is contained in:
ilyakooo0 2018-08-24 18:10:35 +03:00
parent eed6199d57
commit bd33d16520

View File

@ -0,0 +1,37 @@
# 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 Sourcedocsswift < Formula
desc "LaTeX-таблицы всех классов, структур и их полей и методов из проекта Xcode"
homepage "https://github.com/ilyakooo0/SourceDocsSwift"
url "https://github.com/ilyakooo0/SourceDocsSwift/releases/download/1.0/sourceDocsSwift-1.0.zip"
sha256 "90c484e5c82d023c0e18962654bcf36fc1d5136823cef3c74cad2d10b643835a"
# depends_on "cmake" => :build
depends_on "sourcekitten"
def install
# ENV.deparallelize # if your formula fails when building in parallel
# Remove unrecognized options if warned by configure
# system "./configure", "--disable-debug",
# "--disable-dependency-tracking",
# "--disable-silent-rules",
# "--prefix=#{prefix}"
# system "cmake", ".", *std_cmake_args
# system "make", "install" # if this fails, try separate make/make install steps
bin.install "sourceDocsSwift"
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 SourceDocsSwift`. 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