From 0e517d2efc3863890cd6b93e79ac3c72e759219a Mon Sep 17 00:00:00 2001 From: Ben Date: Sat, 27 Jul 2024 18:18:56 +0200 Subject: [PATCH] try compiled formula --- .github/workflows/publish.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c83dbd5..881ae06 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -35,13 +35,14 @@ jobs: # Custom dependencies in case other formulas are needed to build the current one. # Optional - multiline string - # depends_on: | - # "bash" => :build + depends_on: | + "rust" => :build # "gcc" - # Custom install command for your formula. # Required - string - install: 'bin.install "gstack" => "gs"' + install: | + system "cargo", "build", "--release", "--bin", "gstack" + bin.install "target/release/gstack" # Custom test command for your formula so you can run `brew test`. # Optional - string @@ -74,10 +75,10 @@ jobs: # Darwin AMD pre-existing path example: https://github.com/justintime50/myrepo/releases/download/v1.2.0/myrepo-1.2.0-darwin-amd64.tar.gz # Linux ARM pre-existing path example: https://github.com/justintime50/myrepo/releases/download/v1.2.0/myrepo-1.2.0-linux-arm64.tar.gz # Optional - booleans - target_darwin_amd64: false - target_darwin_arm64: true - target_linux_amd64: false - target_linux_arm64: false + # target_darwin_amd64: false + # target_darwin_arm64: true + # target_linux_amd64: false + # target_linux_arm64: false # Update your homebrew tap's README with a table of all projects in the tap. # This is done by pulling the information from all your formula.rb files - eg: