Updated formula with caveat

This commit is contained in:
Chad Nelson 2025-02-28 10:37:53 -07:00
parent 735c632f3e
commit 5f5becef12

View file

@ -53,6 +53,15 @@ class MsgCli < Formula
system "guild", "compile", "-o", "#{prefix}/lib/guile/3.0/site-ccache/msg/machine.go", "#{prefix}/share/guile/site/3.0/msg/machine.scm" system "guild", "compile", "-o", "#{prefix}/lib/guile/3.0/site-ccache/msg/machine.go", "#{prefix}/share/guile/site/3.0/msg/machine.scm"
end end
def caveats
<<~EOS
Add the following to your .bashrc or equivalent:
export GUILE_LOAD_PATH="#{HOMEBREW_PREFIX}/share/guile/site/3.0"
export GUILE_LOAD_COMPILED_PATH="#{HOMEBREW_PREFIX}/lib/guile/3.0/site-ccache"
export GUILE_SYSTEM_EXTENSIONS_PATH="#{HOMEBREW_PREFIX}/lib/guile/3.0/extensions"
EOS
end
test do test do
# `test do` will create, run in and delete a temporary directory. # `test do` will create, run in and delete a temporary directory.
# #