Closed laggardkernel closed 3 years ago
I haven't used homebrew, and I don't know how to bypass the behavior of homebrew. Maybe you can tell me.
I don't think this is a bug in bee.lua, it's more like a bug in homebrew. If homebrew needs to hook something, it should hook everything to make the application unaware, right?
I haven't used homebrew, and I don't know how to bypass the behavior of homebrew. Maybe you can tell me.
I have no idea how to fix the test for Homebrew either.
I don't think this is a bug in bee.lua, it's more like a bug in homebrew.
I agree with you, this is more a problem on the homebrew side.
Homebrew fakes
$HOME
with a temporary directory like/private/tmp/lua-language-server-20211002-15688-17zis4f/.brew_home
during building. Testfilesystem.test_appdata_path
won't pass.Related logs
I changed the test function name to skip running it as a test to make the build success.
https://github.com/laggardkernel/homebrew-tap/blob/e4af1e17708b858cae9eb7223e4ca3a8cf0c00c3/Formula/lua-language-server.rb#L37-L41
Should we improve the test in bee.lua to support Homebrew? Or just leave the problem let it be fixed by the homebrew formula packager (the 'solution' what I'm using)? Not sure if it should be considered a bug of bee.lua.