Sha256: 7f5decd4f207e5bf1f1f259cb2c121c797412fcd636b84ff55ec21bd6284848f

Contents?: true

Size: 438 Bytes

Versions: 5

Compression:

Stored size: 438 Bytes

Contents

require 'formula'

class Drafter < Formula
  homepage 'http://apiblueprint.org'
  head 'https://github.com/apiaryio/drafter.git', :tag => 'v3.2.2'

  def install
    system "./configure", "--shared"
    system "make", "drafter"
    bin.install Dir["bin/drafter"]
    (include + "drafter").install Dir["src/drafter.h"]
    lib.install Dir["build/out/Release/libdrafter.dylib"]
  end

  test do
    system bin/"drafter", "--help"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lounge_lizard-0.1.4 ext/drafter/tools/homebrew/drafter.rb
lounge_lizard-0.1.3 ext/drafter/tools/homebrew/drafter.rb
lounge_lizard-0.1.2 ext/drafter/tools/homebrew/drafter.rb
lounge_lizard-0.1.1 ext/drafter/tools/homebrew/drafter.rb
lounge_lizard-0.1.0 ext/drafter/tools/homebrew/drafter.rb