use bats_load_library instead of load and suggest to use BATS_LIB_PATH#10
use bats_load_library instead of load and suggest to use BATS_LIB_PATH#10brokenpip3 wants to merge 8 commits intomainfrom
bats_load_library instead of load and suggest to use BATS_LIB_PATH#10Conversation
martin-schulze-vireso
left a comment
There was a problem hiding this comment.
I would not recommend to change the lib path in setup.
thanks for the review, you mean only in the brew formula or in general in the instructions for the user? |
|
I mean in general. The idea of the lib path is to separate system config from the test suite sources. If you hardcode brew paths, what happens when the tests are run in a system without homebrew? |
I totally understand your concern but this is a homebrew packages for mac-os users right? I mean -we could but- we never added the linux support to these packages (again it's possible but it will require using brew in linux which is something very few people do for obvious reasons) Also the If I have on my bash profile this config in my linux box and I do not have brew installed: BATS_LIB_PATH="/usr/lib/bats"and I will use the previous export command with the homebrew prefix the tests will run correctly on both my linux and mac box right? Anyway I'm totally ok to remove the lib path export, what about keeping the |
bats_load_library instead of load and suggest to use BATS_LIB_PATH
|
I created a separated PR to accommodate both file and detik update: #11 and changed the title of this cosmetic one to be threaded a separate change so it can attract more brew users feedback (since I'm not). |
9a6d11b to
c4ac380
Compare
bats_load_library instead of load and suggest to use BATS_LIB_PATHbats_load_library instead of load and suggest to use BATS_LIB_PATH
No description provided.