aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/luarocks.rb
diff options
context:
space:
mode:
authorMax Howell2013-04-09 13:58:14 -0400
committerMax Howell2013-04-09 13:58:32 -0400
commit36db505e488801b4865a55e764ccef29bdb97017 (patch)
treefb1c051a71636244f3e17fc73fdee50e019e38f6 /Library/Formula/luarocks.rb
parent02a0ddfa3e61d754dbca367487806d3ca698ac26 (diff)
downloadhomebrew-36db505e488801b4865a55e764ccef29bdb97017.tar.bz2
Luarocks caveats
Diffstat (limited to 'Library/Formula/luarocks.rb')
-rw-r--r--Library/Formula/luarocks.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/luarocks.rb b/Library/Formula/luarocks.rb
index f526b8c18..5f302d18f 100644
--- a/Library/Formula/luarocks.rb
+++ b/Library/Formula/luarocks.rb
@@ -41,6 +41,14 @@ class Luarocks < Formula
system "make install"
end
+ def caveats; <<-EOS.undent
+ Rocks install to: #{HOMEBREW_PREFIX}/lib/luarocks/rocks
+
+ You may need to run `luarocks install` inside the Homebrew build
+ environment for rocks to successfully build. To do this, first run `brew sh`.
+ EOS
+ end
+
def test
opoo "Luarocks test script installs 'lpeg'"
system "#{bin}/luarocks", "install", "lpeg"