osquery-1/tools/provision/darwin.sh
2015-04-02 21:34:55 -07:00

28 lines
694 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright (c) 2014, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
function main_darwin() {
type brew >/dev/null 2>&1 || {
fatal "could not find homebrew. please install it from http://brew.sh/";
}
type pip >/dev/null 2>&1 || {
fatal "could not find pip. please install it using 'sudo easy_install pip'";
}
brew update
package rocksdb
package cmake
package makedepend
package boost
package gflags
package thrift
}