Skip to content

Update README.md

Update README.md #1157

Workflow file for this run

on: push
name: "Test Homebrew"
jobs:
testBrew:
name: Test Homebrew version
runs-on: macos-latest
steps:
- uses: actions/checkout@master
- name: Build and test bundled homebrew formula
run: |
cd tools/build/homebrew
brew tap-new difegue/lanraragi
echo "Replacing commit hash in formula with current hash $(git rev-parse --verify HEAD)"
sed -i.bck "s/COMMIT_HASH/$(git rev-parse --verify HEAD)/" Lanraragi.rb
echo "Copying test formula to custom tap to allow installation"
cp Lanraragi.rb $(brew --repository)/Library/Taps/difegue/homebrew-lanraragi/Formula/
brew install --force --verbose --build-from-source difegue/lanraragi/lanraragi
brew test --verbose difegue/lanraragi/lanraragi