Skip to content

Instantly share code, notes, and snippets.

@netbe
Last active August 29, 2015 14:01
Show Gist options
  • Save netbe/390b75a7fcd7299dac96 to your computer and use it in GitHub Desktop.
Save netbe/390b75a7fcd7299dac96 to your computer and use it in GitHub Desktop.
metajson.rb
require "formula"
class Metajson < Formula
homepage "https://github.com/sinnerschrader-mobile/metaJSON."
head "https://github.com/sinnerschrader-mobile/metaJSON.git", :branch => 'feature/refactor'
depends_on :python
def install
system "python", "setup.py", "build"
system "python", "setup.py", "install"
end
test do
system "#{bin}/metajson", '--version'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment