-
-
Save tzudot/dd956165cca423d57d71 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
require "formula" | |
class Lit < Formula | |
homepage "https://github.com/luvit/lit" | |
url "https://lit.luvit.io/packages/luvit/lit/v2.1.11.zip" | |
sha1 "be0904957a4867bf1284d0ebd7b04e6ec521b85a" | |
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.7/luvi-src.tar.gz" | |
sha256 "8a4bd488a00747e01bb3ab3adcc2ceb938035549bf1b9ecea80b177504002e7d" | |
depends_on "cmake" => :build | |
def install | |
system "make", "regular-asm" | |
system "make" | |
bin.install "build/luvi" | |
end | |
test do | |
system "make", "test" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment