diff --git a/README.md b/README.md index 1f14994f2..0185e3713 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,7 @@ Both the types of Parse Results are available in two different serialization for OS X using Homebrew: ```sh -$ brew install --HEAD \ - https://raw.github.com/apiaryio/drafter/master/tools/homebrew/drafter.rb +$ brew install drafter ``` [AUR package](https://aur.archlinux.org/packages/drafter/) for Arch Linux. diff --git a/tools/clang-format-check.sh b/tools/clang-format-check.sh index cf718e19d..a4b3c3846 100755 --- a/tools/clang-format-check.sh +++ b/tools/clang-format-check.sh @@ -7,7 +7,6 @@ function report_error () { exit 1; } -clang-format --version | cut -d ' ' -f 3 | grep -q "^5\." || (echo "Require clang-format version 5" && exit 1) +clang-format --version | cut -d ' ' -f 3 | grep -q "^5\." || (echo "Requires clang-format version 5" && exit 1) clang-format -style=file -output-replacements-xml $(git ls-files | grep -e '\.cc$\|\.h$' | grep -v 'ext/boost') | awk '/\ 'v4.0.0-pre.0' - - 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