Skip to content

Instantly share code, notes, and snippets.

@tjvr
Last active January 31, 2017 23:12
Show Gist options
  • Save tjvr/130c02667286fbbbc6566f652ed5729c to your computer and use it in GitHub Desktop.
Save tjvr/130c02667286fbbbc6566f652ed5729c to your computer and use it in GitHub Desktop.
Homebrew formula for WebAssembly Binary Toolkit
class Wabt < Formula
desc "The WebAssembly Binary Toolkit"
homepage "https://github.com/WebAssembly/wabt"
head "https://github.com/WebAssembly/wabt.git"
#url "https://github.com/WebAssembly/wabt/archive/binary_0xc.tar.gz"
sha256 "0ee56305b232d2a07aebd18afd0861ba39941d137ebf2ce2d57395a1bcd82940"
depends_on "cmake" => :build
def install
mkdir "build"
cd "build"
system "cmake", "..", *std_cmake_args
system "make", "install"
end
test do
system "false" # TODO
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment