Push tesses-framework=v0.0.3
This commit is contained in:
@@ -1,42 +1,17 @@
|
||||
# Documentation: https://docs.brew.sh/Formula-Cookbook
|
||||
# https://docs.brew.sh/rubydoc/Formula
|
||||
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
|
||||
class Tessesframework < Formula
|
||||
desc ""
|
||||
homepage ""
|
||||
url "https://git.tesses.org/tesses50/tessesframework/archive/development.tar.gz"
|
||||
version "0.0.2"
|
||||
sha256 "05f241b188fd0dcdd38bda25bae4e6be28f4d84b548c0381fd601cd9643597a0"
|
||||
url "https://git.tesses.org/tesses50/tessesframework/archive/v0.0.3.tar.gz"
|
||||
sha256 "63227afb02891bf7771c2ac2b0e2f81eb3c8d70335599ce095fcf6ef6f8ec470"
|
||||
license "MIT"
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "mbedtls@3"
|
||||
|
||||
# Additional dependency
|
||||
# resource "" do
|
||||
# url ""
|
||||
# sha256 ""
|
||||
# end
|
||||
|
||||
def install
|
||||
# Remove unrecognized options if they cause configure to fail
|
||||
# https://docs.brew.sh/rubydoc/Formula.html#std_configure_args-instance_method
|
||||
# system "./configure", "--disable-silent-rules", *std_configure_args
|
||||
system "cmake", "-S", ".", "-B", "build", "-DTESSESFRAMEWORK_FETCHCONTENT=OFF", *std_cmake_args
|
||||
system "cmake", "--build", "build"
|
||||
system "cmake", "--install", "build"
|
||||
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 tessesframework`. 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"
|
||||
system "true"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user