Skip to content

Commit

Permalink
luarocks: add 3.9.1 bottle.
Browse files Browse the repository at this point in the history
  • Loading branch information
gromgit committed Jan 27, 2023
1 parent 1277933 commit 8b72236
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Formula/luarocks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ class Luarocks < Formula

bottle do
root_url "https://github.com/gromgit/homebrew-core-mojave/releases/download/luarocks"
sha256 cellar: :any_skip_relocation, mojave: "96ef4365fc55fd685ed5d10d711779531a0250cc36a4b45c216a9493133c0849"
rebuild 1
sha256 cellar: :any_skip_relocation, mojave: "2e32fb3975e06e49091a1d048d2445422e417f4e82965504f89249f05007a3e3"
end

depends_on "[email protected]" => :test
depends_on "[email protected]" => :test
depends_on "luajit-openresty" => :test
depends_on "luajit" => :test
depends_on "lua"

uses_from_macos "unzip"
Expand Down Expand Up @@ -73,7 +74,7 @@ def caveats

# LuaJIT is compatible with lua5.1, so we can also test it here
rmdir testpath/"blank_space"
system "#{Formula["luajit-openresty"].bin}/luajit", "lfs_#{luaversion}test.lua"
system Formula["luajit"].bin/"luajit", "lfs_#{luaversion}test.lua"
assert_predicate testpath/"blank_space", :directory?,
"Luafilesystem failed to create the expected directory"
else
Expand Down

0 comments on commit 8b72236

Please sign in to comment.