Last active
August 29, 2015 14:15
-
-
Save creationix/61222346fe849a0ecfe5 to your computer and use it in GitHub Desktop.
Homebrew
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Lit < Formula | |
desc "Toolkit for developing, sharing, and running luvit/lua programs and libraries." | |
homepage "https://github.com/luvit/lit" | |
url "https://lit.luvit.io/packages/luvit/lit/v2.2.4.zip" | |
sha256 "73216738ff9d25f14c53633c4b7786bd007a95c6e2aa536cafc846744cc0950f" | |
depends_on "luvi" => :build | |
def install | |
system "luvi", buildpath, "--", "make" | |
bin.install "lit" | |
end | |
test do | |
system "#{BIN}/lit" | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Luvi < Formula | |
desc "A project in-between luv and luvit, lua packages." | |
homepage "https://github.com/luvit/luvi" | |
url "https://github.com/luvit/luvi/releases/download/v2.1.8/luvi-src-v2.1.8.tar.gz" | |
sha256 "1ef449c6a76bcf7a03c8bbcdd5423b0366d63b10c52fd463ca2ba8aaf9248781" | |
depends_on "cmake" => :build | |
def install | |
system "make", "regular-asm" | |
system "make" | |
bin.install "build/luvi" | |
end | |
test do | |
system "make", "test" | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Luvit < Formula | |
desc "Asynchronous I/O for Lua (node.js style powered by luajit and libuv)" | |
homepage "https://luvit.io/" | |
url "https://lit.luvit.io/packages/luvit/luvit/v2.4.2.zip" | |
sha256 "f81cc4de2324c750aa65bd8fff588f9cd21dbeba731288dbe49a7006380c8aab" | |
depends_on "lit" => :build | |
def install | |
system "lit", "make", buildpath | |
bin.install "luvit" | |
end | |
test do | |
system "#{BIN}/luvit", "-v" | |
end | |
end |
Updated to luvi 2.1.7 and lit 2.1.11.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed and updated for luvi 0.7.1 and lit 0.10.0.