Skip to content

Instantly share code, notes, and snippets.

@tzudot tzudot/lit.rb forked from creationix/lit.rb
Last active Aug 29, 2015

Embed
What would you like to do?
Homebrew
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
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
You can’t perform that action at this time.