homebrew-core/Formula/ninja.rb

14 lines
370 B
Ruby
Raw Normal View History

require 'formula'
class Ninja < Formula
homepage 'https://github.com/martine/ninja'
url 'https://github.com/martine/ninja/archive/v1.1.0.tar.gz'
sha1 'ce37677326997c70da4fe49c1e948aba5b77317f'
def install
system "./bootstrap.py"
bin.install "ninja"
(prefix/'etc/bash_completion.d').install 'misc/bash-completion' => 'ninja-completion.sh'
end
end