From 36db505e488801b4865a55e764ccef29bdb97017 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Tue, 9 Apr 2013 13:58:14 -0400 Subject: Luarocks caveats --- Library/Formula/luarocks.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Library/Formula') 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" -- cgit v1.2.3