Skip to content

Commit

Permalink
fixup: Add specific git-lfs install
Browse files Browse the repository at this point in the history
  • Loading branch information
elken committed Jan 17, 2025
1 parent cd459e6 commit d736a5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
key: ${{ matrix.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
restore-keys: ${{ matrix.os }}-rubygems-

- run: brew install git-lfs && sudo git lfs install --system && git lfs install && sudo ln -s "$(which git-lfs)" "$(git --exec-path)/git-lfs"
- run: rm -rf "$(brew --repo)/Library/Taps/homebrew/homebrew-test-bot" && git clone https://github.com/elken/homebrew-test-bot "$(brew --repo)/Library/Taps/homebrew/homebrew-test-bot"
# - run: brew install git-lfs && sudo git lfs install --system && git lfs install && sudo ln -s "$(which git-lfs)" "$(git --exec-path)/git-lfs"

- run: brew test-bot --only-cleanup-before

Expand Down
4 changes: 4 additions & 0 deletions Formula/jank.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ class Jank < Formula
depends_on "openssl"

def install
system "git", "lfs", "install"
system "git", "lfs", "install", "--system"

ENV.prepend_path "PATH", Formula["llvm@19"].opt_bin

ENV.append "LDFLAGS", "-Wl,-rpath,#{Formula["llvm@19"].opt_lib}"
Expand All @@ -27,6 +30,7 @@ def install
inreplace "compiler+runtime/cmake/install.cmake",
'\\$ORIGIN',
jank_install_dir

if OS.mac?
ENV["SDKROOT"] = MacOS.sdk_path
else
Expand Down

0 comments on commit d736a5a

Please sign in to comment.