Hello, I’ve created a private tap so I can distribute a collection of bash scripts and files to other developers in our organisation.
I’ve got the script
company-script installing fine using the following formula:
class CompanyTools < Formula desc "Company Tools" homepage "<project url>" url "firstname.lastname@example.org:company/our-scripts.git", :using => :git version "0.04" def install bin.install "company-script" prefix.install "include" end
Once it’s installed, I can run
company-script from any directory as expected as I assume it’s been sym-linked to
But, how can I now access installed files in the
include folder from within the
Do I trust that they will always exist in:
/usr/local/Cellar/company-tools/0.04/include/ or should I be somehow setting an environment variable for accessing the
include folder during the install process?
Thanks for any help.